2021-08-01 22:28:44 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, pkg-config
|
|
|
|
, gtk3
|
|
|
|
, gtk-layer-shell
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "sirula";
|
2022-06-27 11:40:34 +00:00
|
|
|
version = "1.0.0";
|
2021-08-01 22:28:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DorianRudolph";
|
2022-06-27 11:40:34 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-C5mVO10+jD4TDg6R9rVJO6fdDiOD5tT+bEaI53WVdFA=";
|
2021-08-01 22:28:44 +00:00
|
|
|
};
|
|
|
|
|
2022-06-27 11:40:34 +00:00
|
|
|
cargoSha256 = "sha256-pxVEa3m7SWMwOAcR/jRKzEc6MH6YkNfTW0cm6Nid6Zo=";
|
2021-08-01 22:28:44 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ gtk3 gtk-layer-shell ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple app launcher for wayland written in rust";
|
|
|
|
homepage = "https://github.com/DorianRudolph/sirula";
|
|
|
|
license = with licenses; [ gpl3Plus ];
|
|
|
|
maintainers = with maintainers; [ twitchyliquid64 ];
|
2023-03-05 12:59:54 +00:00
|
|
|
platforms = platforms.linux;
|
2021-08-01 22:28:44 +00:00
|
|
|
};
|
|
|
|
}
|