diff options
author | Jeremiah S <owner@arouzing.xyz> | 2023-07-30 23:02:38 -0400 |
---|---|---|
committer | Jeremiah S <owner@arouzing.xyz> | 2023-08-02 16:19:45 +0000 |
commit | bc39d290769650b1696c72aad28298e4baf44de8 (patch) | |
tree | e83637d3bf0125c4d54a2997274c17b090e87945 /pkgs/applications/display-managers | |
parent | 26a11bdc905685fcbfb526965a67a70ac6e15809 (diff) |
lemurs: init at 0.3.1
applied editorconfig settings fix: lf line ending issue fix: repo can not be pname due to bind issues fix: use cargoHash not cargoSha256 lint: build inputs should new line lint: callPackage should have space in attrset
Diffstat (limited to 'pkgs/applications/display-managers')
-rw-r--r-- | pkgs/applications/display-managers/lemurs/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/display-managers/lemurs/default.nix b/pkgs/applications/display-managers/lemurs/default.nix new file mode 100644 index 0000000000000..9973099b1f590 --- /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]; + }; +} |