16 stdenvNoCC.mkDerivation (finalAttrs: {
20 src = fetchFromGitHub {
23 rev = finalAttrs.version;
24 hash = "sha256-9taTmV357cWglMGuN3NLq3bfNneFthwV6y+Ml4qEeHA=";
27 nativeBuildInputs = [ makeWrapper ];
32 install -Dm755 hyprshot -t "$out/bin"
33 wrapProgram "$out/bin/hyprshot" \
44 ++ lib.optionals withFreeze [ hyprpicker ]
52 homepage = "https://github.com/Gustash/hyprshot";
53 description = "Hyprshot is an utility to easily take screenshots in Hyprland using your mouse";
54 license = licenses.gpl3Only;
55 maintainers = with maintainers; [ Cryolitia ];
56 mainProgram = "hyprshot";
57 platforms = hyprland.meta.platforms;