2023-06-13 16:26:04 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
2019-10-27 14:01:59 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "shotgun";
|
2023-06-24 23:36:17 +00:00
|
|
|
version = "2.5.1";
|
2019-10-27 14:01:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "neXromancers";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-06-24 23:36:17 +00:00
|
|
|
sha256 = "sha256-sBstFz7cYfwVQpDZeC3wPjzbKU5zQzmnhiWNqiCda1k=";
|
2019-10-27 14:01:59 +00:00
|
|
|
};
|
|
|
|
|
2023-06-24 23:36:17 +00:00
|
|
|
cargoSha256 = "sha256-P6riJgnEe+bNP3cUKNCfIkgKM44XGYSDADnU6w7CFDA=";
|
2023-01-17 17:06:52 +00:00
|
|
|
|
2019-10-27 14:01:59 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Minimal X screenshot utility";
|
|
|
|
homepage = "https://github.com/neXromancers/shotgun";
|
|
|
|
license = with licenses; [ mpl20 ];
|
2023-06-13 16:30:44 +00:00
|
|
|
maintainers = with maintainers; [ figsoda lumi novenary ];
|
2019-10-27 14:01:59 +00:00
|
|
|
platforms = platforms.linux;
|
2023-11-23 02:51:17 +00:00
|
|
|
mainProgram = "shotgun";
|
2019-10-27 14:01:59 +00:00
|
|
|
};
|
|
|
|
}
|