nixpkgs/pkgs/tools/misc/wayshot/default.nix

24 lines
648 B
Nix
Raw Normal View History

2022-07-22 04:06:23 +00:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "wayshot";
2022-09-30 23:09:33 +00:00
version = "1.2.2";
2022-07-22 04:06:23 +00:00
src = fetchFromGitHub {
owner = "waycrate";
repo = pname;
rev = version;
2022-09-30 23:09:33 +00:00
hash = "sha256-/uZ98ICdPTilUD3vBEbJ4AxGWY1xIbkK6O+bkhqIUKA=";
2022-07-22 04:06:23 +00:00
};
2022-09-30 23:09:33 +00:00
cargoHash = "sha256-j/gSrXY5n/zW3IogHewyrupTKtEm5EtOzfOzglyTP9A=";
2022-07-22 04:06:23 +00:00
meta = with lib; {
description = "A native, blazing-fast screenshot tool for wlroots based compositors such as sway and river";
homepage = "https://github.com/waycrate/wayshot";
license = licenses.bsd2;
maintainers = [ maintainers.dit7ya ];
platforms = platforms.linux;
};
}