2021-04-17 14:25:14 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-09-25 23:12:59 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, glib
|
|
|
|
, systemd
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-session-ctl";
|
2022-01-30 01:23:14 +00:00
|
|
|
version = "41.3";
|
2020-09-25 23:12:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nix-community";
|
|
|
|
repo = pname;
|
2021-04-17 14:25:14 +00:00
|
|
|
rev = version;
|
2022-01-30 01:23:14 +00:00
|
|
|
hash = "sha256-aC0tkTf2lgCRlcbFj1FEOVBm3YUuP+8Yz98W3ZjUydg=";
|
2020-09-25 23:12:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
systemd
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 23:12:59 +00:00
|
|
|
description = "gnome-session-ctl extracted from gnome-session for nixpkgs";
|
|
|
|
homepage = "https://github.com/nix-community/gnome-session-ctl";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|