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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
677 B
Nix
Raw Normal View History

2022-07-22 06:06:23 +02:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "wayshot";
2023-07-04 14:02:23 +02:00
version = "1.3.0";
2022-07-22 06:06:23 +02:00
src = fetchFromGitHub {
owner = "waycrate";
repo = pname;
rev = version;
2023-07-04 14:02:23 +02:00
hash = "sha256-WN1qlV6vpIn0uNiE+rXeQTMscNYqkgFytVBc6gJzvyU=";
2022-07-22 06:06:23 +02:00
};
2023-07-04 14:02:23 +02:00
cargoHash = "sha256-Hfgr+wWC5zUdHhFMwOBt57h2r94OpdJ1MQpckhYgKQQ=";
2022-07-22 06:06:23 +02: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;
2023-08-13 17:39:56 +02:00
mainProgram = "wayshot";
2022-07-22 06:06:23 +02:00
};
}