mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
24 lines
648 B
Nix
24 lines
648 B
Nix
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "wayshot";
|
|
version = "1.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "waycrate";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-/uZ98ICdPTilUD3vBEbJ4AxGWY1xIbkK6O+bkhqIUKA=";
|
|
};
|
|
|
|
cargoHash = "sha256-j/gSrXY5n/zW3IogHewyrupTKtEm5EtOzfOzglyTP9A=";
|
|
|
|
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;
|
|
};
|
|
}
|