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