From 26a11bdc905685fcbfb526965a67a70ac6e15809 Mon Sep 17 00:00:00 2001 From: Jeremiah S Date: Sun, 30 Jul 2023 22:20:59 -0400 Subject: [PATCH 1/2] maintainers: add jeremiahs --- maintainers/maintainer-list.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index f76eba52da23..2db15558de53 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -7724,6 +7724,13 @@ githubId = 1608697; name = "Jens Binkert"; }; + jeremiahs = { + email = "jeremiah@secrist.xyz"; + github = "JeremiahSecrist"; + githubId = 26032621; + matrix = "@jeremiahs:matrix.org"; + name = "Jeremiah Secrist"; + }; jeremyschlatter = { email = "github@jeremyschlatter.com"; github = "jeremyschlatter"; From bc39d290769650b1696c72aad28298e4baf44de8 Mon Sep 17 00:00:00 2001 From: Jeremiah S Date: Sun, 30 Jul 2023 23:02:38 -0400 Subject: [PATCH 2/2] 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 --- .../display-managers/lemurs/default.nix | 33 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/applications/display-managers/lemurs/default.nix 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; };