biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / display-managers / greetd / wlgreet.nix
blobcdaf1ff0c9268e100f1bbfafb2c547daf9d361df
1 { lib
2 , rustPlatform
3 , fetchFromSourcehut
4 , autoPatchelfHook
5 , gcc-unwrapped
6 , wayland
7 , libxkbcommon
8 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "wlgreet";
12   version = "0.5.0";
14   src = fetchFromSourcehut {
15     owner = "~kennylevinsen";
16     repo = pname;
17     rev = version;
18     hash = "sha256-TQTHFBOTxtSuzrAG4cjZ9oirl80xc0rPdYeLJ0t39DQ=";
19   };
21   cargoHash = "sha256-+YGhfEq2RltPq5oLLh1h+vGphDpoGZNVdvzko3P1iUQ=";
23   nativeBuildInputs = [ autoPatchelfHook ];
24   buildInputs = [ gcc-unwrapped ];
26   runtimeDependencies = map lib.getLib [
27     gcc-unwrapped
28     wayland
29     libxkbcommon
30   ];
32   meta = with lib; {
33     description = "Raw wayland greeter for greetd, to be run under sway or similar";
34     mainProgram = "wlgreet";
35     homepage = "https://git.sr.ht/~kennylevinsen/wlgreet";
36     license = licenses.gpl3Plus;
37     maintainers = with maintainers; [ luc65r ];
38     platforms = platforms.linux;
39   };