mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
34 lines
895 B
Nix
34 lines
895 B
Nix
{ lib, rustPlatform, fetchFromGitHub, installShellFiles }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "pueue";
|
|
version = "0.8.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Nukesor";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1vdlsfnqnyri0ny2g695lhivs9m25v9lsqf1valwbjv9l9vjxfqa";
|
|
};
|
|
|
|
cargoSha256 = "0qziwb69qpbziz772np8dcb1dvxg6m506k5kl63m75z4zicgykcv";
|
|
|
|
nativeBuildInputs = [ installShellFiles ];
|
|
|
|
checkFlags = [ "--skip=test_single_huge_payload" "--skip=test_create_unix_socket" ];
|
|
|
|
postInstall = ''
|
|
for shell in bash fish zsh; do
|
|
$out/bin/pueue completions $shell .
|
|
done
|
|
installShellCompletion pueue.{bash,fish} _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 ];
|
|
};
|
|
}
|