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