diff --git a/pkgs/applications/display-managers/lemurs/default.nix b/pkgs/applications/display-managers/lemurs/default.nix new file mode 100644 index 000000000000..9973099b1f59 --- /dev/null +++ b/pkgs/applications/display-managers/lemurs/default.nix @@ -0,0 +1,33 @@ +{ + fetchFromGitHub, + lib, + linux-pam, + rustPlatform, +}: +rustPlatform.buildRustPackage rec { + pname = "lemurs"; + version = "0.3.1"; + + src = fetchFromGitHub { + owner = "coastalwhite"; + repo = "lemurs"; + rev = "v${version}"; + hash = "sha256-6mNSLEWafw8yDGnemOhEiK8FTrBC+6+PuhlbOXTGmN0="; + }; + + cargoHash = "sha256-nfUBC1HSs7PcIbD7MViJFkfFAPda83XbAupNeShfwOs="; + + # Fixes a lock issue + preConfigure = "cargo update --offline"; + + buildInputs = [ + linux-pam + ]; + + meta = with lib; { + description = "A customizable TUI display/login manager written in Rust"; + homepage = "https://github.com/coastalwhite/lemurs"; + license = with licenses; [asl20 mit]; + maintainers = with maintainers; [jeremiahs]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 877a88a0ff10..709b1126fbc4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -34967,6 +34967,8 @@ with pkgs; insync = callPackage ../applications/networking/insync { }; + lemurs = callPackage ../applications/display-managers/lemurs { }; + libstrangle = callPackage ../tools/X11/libstrangle { stdenv = stdenv_32bit; };