Skip to content

Commit

Permalink
lemurs: init at 0.3.1
Browse files Browse the repository at this point in the history
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
  • Loading branch information
JeremiahSecrist committed Aug 1, 2023
1 parent 26a11bd commit a07cee2
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pkgs/applications/display-managers/lemurs/default.nix
Original file line number Diff line number Diff line change
@@ -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}";
sha256 = "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];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit a07cee2

Please sign in to comment.