Merge pull request #274841 from r-ryantm/auto-update/miniaudio
[NixPkgs.git] / pkgs / applications / display-managers / lemurs / default.nix
bloba83b6c271448e18b19471e981ef9bb33831eec55
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   cargoHash = "sha256-uuHPJe+1VsnLRGbHtgTMrib6Tk359cwTDVfvtHnDToo=";
22   # Fixes a lock issue
23   preConfigure = "cargo update --offline";
25   buildInputs = [
26     linux-pam
27   ];
29   passthru.tests.version = testers.testVersion {
30     package = lemurs;
31   };
33   meta = with lib; {
34     description = "A customizable TUI display/login manager written in Rust";
35     homepage = "https://github.com/coastalwhite/lemurs";
36     license = with licenses; [asl20 mit];
37     maintainers = with maintainers; [jeremiahs];
38     mainProgram = "lemurs";
39   };