nixpkgs/pkgs/tools/wayland/sirula/default.nix

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

33 lines
740 B
Nix
Raw Normal View History

{ 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";
src = fetchFromGitHub {
owner = "DorianRudolph";
2022-06-27 11:40:34 +00:00
repo = pname;
rev = "v${version}";
sha256 = "sha256-C5mVO10+jD4TDg6R9rVJO6fdDiOD5tT+bEaI53WVdFA=";
};
2022-06-27 11:40:34 +00:00
cargoSha256 = "sha256-pxVEa3m7SWMwOAcR/jRKzEc6MH6YkNfTW0cm6Nid6Zo=";
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 ];
};
}