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; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Native, blazing-fast screenshot tool for wlroots based compositors such as sway and river";
|
2022-08-12 12:06:08 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|