2022-08-12 12:06:08 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "wayshot";
|
2022-10-06 18:32:54 +00:00
|
|
|
version = "1.2.2";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "waycrate";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-10-06 18:32:54 +00:00
|
|
|
hash = "sha256-/uZ98ICdPTilUD3vBEbJ4AxGWY1xIbkK6O+bkhqIUKA=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
cargoHash = "sha256-j/gSrXY5n/zW3IogHewyrupTKtEm5EtOzfOzglyTP9A=";
|
2022-08-12 12:06:08 +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;
|
|
|
|
};
|
|
|
|
}
|