diff options
author | luc65r <lucas@ransan.tk> | 2020-10-31 16:36:03 +0100 |
---|---|---|
committer | Lucas Ransan <lucas@ransan.tk> | 2021-03-22 10:16:31 +0100 |
commit | fdcb6d18dc139a7aba8eeda606ac1c2b7ff65cd0 (patch) | |
tree | 9ff5ba3dcf15a81bf27e7d3bb337625571220a1e /pkgs/os-specific | |
parent | 90813f399b50465dfd6e186f0a250ff51ac7dce9 (diff) |
gtkgreet: init at 0.7
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/gtkgreet/default.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/gtkgreet/default.nix b/pkgs/os-specific/linux/gtkgreet/default.nix new file mode 100644 index 000000000000..7ab7c01475bd --- /dev/null +++ b/pkgs/os-specific/linux/gtkgreet/default.nix @@ -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; + }; +} |