nixpkgs/pkgs/applications/misc/pueue/default.nix

25 lines
643 B
Nix
Raw Normal View History

2020-03-25 23:00:00 +00:00
{ lib, rustPlatform, fetchFromGitHub }:
2020-02-02 09:20:00 +00:00
rustPlatform.buildRustPackage rec {
pname = "pueue";
2020-05-04 06:07:01 +01:00
version = "0.3.1";
2020-02-02 09:20:00 +00:00
src = fetchFromGitHub {
owner = "Nukesor";
repo = pname;
rev = "v${version}";
2020-05-04 06:07:01 +01:00
sha256 = "1v3fphx71hyv7fq09slhyzchw362swzhmhn7wmbazfdrj6fjhcki";
2020-02-02 09:20:00 +00:00
};
2020-05-04 06:07:01 +01:00
cargoSha256 = "04vi9la17pabz1spfw1fzgy4c2ifnis6am5m4ck3lhccnn6j8bd3";
2020-02-02 09:20:00 +00:00
2020-03-25 23:00:00 +00:00
checkPhase = "cargo test -- --skip test_single_huge_payload";
2020-02-02 09:20:00 +00:00
meta = with lib; {
description = "A daemon for managing long running shell commands";
homepage = "https://github.com/Nukesor/pueue";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
};
}