-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
1 parent
26a11bd
commit a07cee2
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters