11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
19 hash = "sha256-QX6BxK26kcrg0yKJA7M+Qlr3WwLaykBquI6UK8wVtX4=";
22 cargoHash = "sha256-481E5/mUeeoaZ0N//tRWCyV8/sRRP6VdB06gB1whgzU=";
24 nativeBuildInputs = [ pkg-config wayland makeWrapper ];
26 buildInputs = [ wayland fontconfig libxkbcommon ];
29 wrapProgram $out/bin/watershot \
30 --prefix PATH : ${lib.makeBinPath [ grim ]}
34 platforms = with platforms; linux;
35 description = "A simple wayland native screenshot tool";
36 homepage = "https://github.com/Kirottu/watershot";
37 license = licenses.gpl3Only;
38 maintainers = with maintainers; [ lord-valen ];