nixpkgs/pkgs/tools/graphics/shotgun/default.nix

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

25 lines
664 B
Nix
Raw Normal View History

2023-06-13 16:26:04 +00:00
{ lib, rustPlatform, fetchFromGitHub }:
2019-10-27 14:01:59 +00:00
rustPlatform.buildRustPackage rec {
pname = "shotgun";
version = "2.5.1";
2019-10-27 14:01:59 +00:00
src = fetchFromGitHub {
owner = "neXromancers";
repo = pname;
rev = "v${version}";
sha256 = "sha256-sBstFz7cYfwVQpDZeC3wPjzbKU5zQzmnhiWNqiCda1k=";
2019-10-27 14:01:59 +00:00
};
cargoSha256 = "sha256-P6riJgnEe+bNP3cUKNCfIkgKM44XGYSDADnU6w7CFDA=";
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 ];
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
};
}