evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / le / lemurs / package.nix
blobe2526f3225097beb3cf9a8ec919ae1a9704348d2
2   fetchFromGitHub,
3   lib,
4   linux-pam,
5   rustPlatform,
6   testers,
7   lemurs,
8 }:
9 rustPlatform.buildRustPackage rec {
10   pname = "lemurs";
11   version = "0.3.2";
13   src = fetchFromGitHub {
14     owner = "coastalwhite";
15     repo = "lemurs";
16     rev = "v${version}";
17     hash = "sha256-YDopY+wdWlVL2X+/wc1tLSSqFclAkt++JXMK3VodD4s=";
18   };
20   patches = [
21     # part of https://github.com/coastalwhite/lemurs/commit/09003a830400250ec7745939399fc942c505e6c6, but including the rest of the commit may be breaking
22     ./0001-fix-static-lifetime-string.patch
23   ];
25   cargoHash = "sha256-uuHPJe+1VsnLRGbHtgTMrib6Tk359cwTDVfvtHnDToo=";
27   buildInputs = [
28     linux-pam
29   ];
31   passthru.tests.version = testers.testVersion {
32     package = lemurs;
33   };
35   meta = with lib; {
36     description = "Customizable TUI display/login manager written in Rust";
37     homepage = "https://github.com/coastalwhite/lemurs";
38     license = with licenses; [
39       asl20
40       mit
41     ];
42     maintainers = with maintainers; [ jeremiahs ];
43     mainProgram = "lemurs";
44   };