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

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

30 lines
794 B
Nix
Raw Normal View History

2024-04-08 06:37:03 +00:00
{ lib
, fetchFromGitHub
, rustPlatform
}:
2022-07-22 04:06:23 +00:00
rustPlatform.buildRustPackage rec {
pname = "wayshot";
2024-04-08 06:37:03 +00:00
version = "1.3.1";
2022-07-22 04:06:23 +00:00
src = fetchFromGitHub {
owner = "waycrate";
repo = pname;
rev = version;
2024-04-08 06:37:03 +00:00
hash = "sha256-nUpIN4WTePtFZTmKAjv0tgj4VTdZeXjoQX6am9+M3ig=";
2022-07-22 04:06:23 +00:00
};
2024-04-08 06:37:03 +00:00
cargoHash = "sha256-1Y9ymodZHtxHzhudjGbkP2ohMaBMOD9K+GpUoNmzHQs=";
# tests are off as they are broken and pr for integration testing is still WIP
doCheck = false;
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;
2024-04-08 06:37:03 +00:00
maintainers = with maintainers; [ dit7ya id3v1669 ];
2022-07-22 04:06:23 +00:00
platforms = platforms.linux;
2023-08-13 15:39:56 +00:00
mainProgram = "wayshot";
2022-07-22 04:06:23 +00:00
};
}