3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/pueue/default.nix

29 lines
763 B
Nix
Raw Normal View History

2020-02-02 09:20:00 +00:00
{ lib, rustPlatform, fetchFromGitHub, installShellFiles }:
rustPlatform.buildRustPackage rec {
pname = "pueue";
2020-03-05 23:23:04 +00:00
version = "0.1.6";
2020-02-02 09:20:00 +00:00
src = fetchFromGitHub {
owner = "Nukesor";
repo = pname;
rev = "v${version}";
2020-03-05 23:23:04 +00:00
sha256 = "1qp9h1xlfxwswcqi1qn2hfybxl547z13xjbvfgsx1nc8yj51bi3c";
2020-02-02 09:20:00 +00:00
};
nativeBuildInputs = [ installShellFiles ];
2020-03-05 23:23:04 +00:00
cargoSha256 = "00va292bjdp42bkqdkjqajmzc2nshhqa1fj0yfwdf3rrx4nhssjd";
2020-02-02 09:20:00 +00:00
postInstall = ''
installShellCompletion utils/completions/pueue.{bash,fish} --zsh utils/completions/_pueue
'';
meta = with lib; {
description = "A daemon for managing long running shell commands";
homepage = "https://github.com/Nukesor/pueue";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
};
}