3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #61137 from dalance/add_procs

procs: init at 0.8.5
This commit is contained in:
Renaud 2019-05-08 20:47:41 +02:00 committed by GitHub
commit f300cb1685
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

View file

@ -1100,6 +1100,11 @@
github = "cwoac";
name = "Oliver Matthews";
};
dalance = {
email = "dalance@gmail.com";
github = "dalance";
name = "Naoya Hatta";
};
DamienCassou = {
email = "damien@cassou.me";
github = "DamienCassou";

View file

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "procs";
version = "0.8.5";
src = fetchFromGitHub {
owner = "dalance";
repo = pname;
rev = "v${version}";
sha256 = "0ihww2sm9hnh748723lr1cxw9zyi9nfxbbiij5a465mypa2p7w0v";
};
cargoSha256 = "1aq2nhspb9kp9mzj5550xph09qvd0ahlw246hcx2mqkr4frh64x0";
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
meta = with stdenv.lib; {
description = "A modern replacement for ps written in Rust";
homepage = "https://github.com/dalance/procs";
license = with licenses; [ mit ];
maintainers = [ maintainers.dalance ];
platforms = with platforms; linux ++ darwin;
};
}

View file

@ -1739,6 +1739,10 @@ in
pyznap = python3Packages.callPackage ../tools/backup/pyznap {};
procs = callPackage ../tools/admin/procs {
inherit (darwin.apple_sdk.frameworks) Security;
};
scour = with python3Packages; toPythonApplication scour;
s2png = callPackage ../tools/graphics/s2png { };