2020-10-31 15:56:59 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromSourcehut
|
2024-01-27 02:49:13 +00:00
|
|
|
, autoPatchelfHook
|
|
|
|
, gcc-unwrapped
|
|
|
|
, wayland
|
|
|
|
, libxkbcommon
|
2020-10-31 15:56:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2023-01-13 01:06:23 +00:00
|
|
|
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";
|
2023-01-13 01:06:23 +00:00
|
|
|
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
|
|
|
|
2024-01-27 02:49:13 +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";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "wlgreet";
|
2020-10-31 15:56:59 +00:00
|
|
|
homepage = "https://git.sr.ht/~kennylevinsen/wlgreet";
|
|
|
|
license = licenses.gpl3Plus;
|
2024-11-17 19:30:20 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-10-31 15:56:59 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|