nixpkgs/pkgs/desktops/gnome-3/core/gnome-session/ctl.nix
2020-10-24 01:17:00 +02:00

42 lines
796 B
Nix

{ stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, glib
, systemd
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "gnome-session-ctl";
version = "3.38.0";
src = fetchFromGitHub {
owner = "nix-community";
repo = pname;
rev = "c20907fea27fa96568b8375a6756c40d0bfb9e40"; # main
hash = "sha256-y9/yOH6N8wf93+gPqnqzRzV/lPXYD0M6v7dsLFF8lWo=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wrapGAppsHook
];
buildInputs = [
glib
systemd
];
meta = with stdenv.lib; {
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;
};
}