3
0
Fork 0
forked from mirrors/nixpkgs

gtkgreet: init at 0.7

This commit is contained in:
luc65r 2020-10-31 16:36:03 +01:00 committed by Lucas Ransan
parent 90813f399b
commit fdcb6d18dc
No known key found for this signature in database
GPG key ID: 37E8293E1B8B2307
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,50 @@
{ stdenv
, lib
, fetchFromSourcehut
, pkg-config
, cmake
, meson
, ninja
, gtk3
, gtk-layer-shell
, json_c
, scdoc
}:
stdenv.mkDerivation rec {
pname = "gtkgreet";
version = "0.7";
src = fetchFromSourcehut {
owner = "~kennylevinsen";
repo = pname;
rev = version;
sha256 = "ms+2FdtzzNlmlzNxFhu4cpX5H+5H+9ZOtZ0p8uVA3lo=";
};
nativeBuildInputs = [
pkg-config
meson
ninja
cmake
];
buildInputs = [
gtk3
gtk-layer-shell
json_c
scdoc
];
mesonFlags = [
"-Dlayershell=enabled"
];
meta = with lib; {
description = "GTK based greeter for greetd, to be run under cage or similar";
homepage = "https://git.sr.ht/~kennylevinsen/gtkgreet";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ luc65r ];
platforms = platforms.linux;
};
}

View file

@ -22549,6 +22549,7 @@ in
greetd = recurseIntoAttrs {
greetd = callPackage ../os-specific/linux/greetd { };
gtkgreet = callPackage ../os-specific/linux/gtkgreet { };
};
goldendict = libsForQt5.callPackage ../applications/misc/goldendict {