diff --git a/pkgs/applications/display-managers/greetd/regreet.nix b/pkgs/applications/display-managers/greetd/regreet.nix new file mode 100644 index 000000000000..e989d9782b1a --- /dev/null +++ b/pkgs/applications/display-managers/greetd/regreet.nix @@ -0,0 +1,35 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, pkg-config +, glib +, gtk4 +, pango +}: + +rustPlatform.buildRustPackage { + pname = "regreet"; + version = "unstable-2023-02-27"; + + src = fetchFromGitHub { + owner = "rharish101"; + repo = "ReGreet"; + rev = "2bbabe90f112b4feeb0aea516c265daaec8ccf2a"; + hash = "sha256-71ji4x/NUE4qmBuO5PkWTPE1a0uPXqJSwW1Ai1amPJE="; + }; + + cargoHash = "sha256-rz2eMMhoMtzBXCH6ZJOvGuYLeHSWga+Ebc4+ZO8Kk1g="; + + buildFeatures = [ "gtk4_8" ]; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ glib gtk4 pango ]; + + meta = with lib; { + description = "Clean and customizable greeter for greetd"; + homepage = "https://github.com/rharish101/ReGreet"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ fufexan ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 698edfa6b86e..4f31369c6be6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -29608,6 +29608,7 @@ with pkgs; dlm = callPackage ../applications/display-managers/greetd/dlm.nix { }; greetd = callPackage ../applications/display-managers/greetd { }; gtkgreet = callPackage ../applications/display-managers/greetd/gtkgreet.nix { }; + regreet = callPackage ../applications/display-managers/greetd/regreet.nix { }; tuigreet = callPackage ../applications/display-managers/greetd/tuigreet.nix { }; wlgreet = callPackage ../applications/display-managers/greetd/wlgreet.nix { }; };