mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
25 lines
664 B
Nix
25 lines
664 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "shotgun";
|
|
version = "2.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "neXromancers";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-sBstFz7cYfwVQpDZeC3wPjzbKU5zQzmnhiWNqiCda1k=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-P6riJgnEe+bNP3cUKNCfIkgKM44XGYSDADnU6w7CFDA=";
|
|
|
|
meta = with lib; {
|
|
description = "Minimal X screenshot utility";
|
|
homepage = "https://github.com/neXromancers/shotgun";
|
|
license = with licenses; [ mpl20 ];
|
|
maintainers = with maintainers; [ figsoda lumi novenary ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "shotgun";
|
|
};
|
|
}
|