nixpkgs/pkgs/applications/display-managers/greetd/wlgreet.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
905 B
Nix
Raw Permalink Normal View History

2020-10-31 15:56:59 +00:00
{ lib
, rustPlatform
, fetchFromSourcehut
, autoPatchelfHook
, gcc-unwrapped
, wayland
, libxkbcommon
2020-10-31 15:56:59 +00:00
}:
rustPlatform.buildRustPackage rec {
pname = "wlgreet";
2024-04-29 04:12:30 +00:00
version = "0.5.0";
2020-10-31 15:56:59 +00:00
src = fetchFromSourcehut {
owner = "~kennylevinsen";
repo = pname;
rev = version;
2024-04-29 04:12:30 +00:00
hash = "sha256-TQTHFBOTxtSuzrAG4cjZ9oirl80xc0rPdYeLJ0t39DQ=";
2020-10-31 15:56:59 +00:00
};
2024-04-29 04:12:30 +00:00
cargoHash = "sha256-+YGhfEq2RltPq5oLLh1h+vGphDpoGZNVdvzko3P1iUQ=";
2020-10-31 15:56:59 +00:00
nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [ gcc-unwrapped ];
runtimeDependencies = map lib.getLib [
gcc-unwrapped
wayland
libxkbcommon
];
2020-10-31 15:56:59 +00:00
meta = with lib; {
description = "Raw wayland greeter for greetd, to be run under sway or similar";
mainProgram = "wlgreet";
2020-10-31 15:56:59 +00:00
homepage = "https://git.sr.ht/~kennylevinsen/wlgreet";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
2020-10-31 15:56:59 +00:00
platforms = platforms.linux;
};
}