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

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

24 lines
635 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";
2023-06-13 16:26:04 +00:00
version = "2.5.0";
2019-10-27 14:01:59 +00:00
src = fetchFromGitHub {
owner = "neXromancers";
repo = pname;
rev = "v${version}";
2023-06-13 16:26:04 +00:00
sha256 = "sha256-ovqPBZznDQnQa9YW1xXA02Jl0AQ7sJNpzovA1SVR8Zc=";
2019-10-27 14:01:59 +00:00
};
2023-06-13 16:26:04 +00:00
cargoSha256 = "sha256-mWifSN9Hpsivq0RdZ9l9+8CWaZMHfzzhT2r27FAuesU=";
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;
};
}