nixpkgs/pkgs/tools/admin/procs/default.nix

26 lines
722 B
Nix
Raw Normal View History

2020-01-26 01:20:00 -08:00
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
2019-05-08 10:01:20 -07:00
rustPlatform.buildRustPackage rec {
pname = "procs";
2020-08-12 10:17:39 -07:00
version = "0.10.4";
2019-05-08 10:01:20 -07:00
src = fetchFromGitHub {
owner = "dalance";
repo = pname;
rev = "v${version}";
2020-08-12 10:17:39 -07:00
sha256 = "1a28kkxcrdfmrq2mmsfkdxfp3msklwga5nbfhjb7a7s64xh8jmjv";
2019-05-08 10:01:20 -07:00
};
2020-08-12 10:17:39 -07:00
cargoSha256 = "1xlxjr0pkwlzm7f5xlrsf76in28r9jj41n6gn44vxqbh4x161gs1";
2019-05-08 10:01:20 -07:00
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";
2020-02-17 17:23:19 -08:00
license = licenses.mit;
2020-04-20 09:15:05 -07:00
maintainers = with maintainers; [ dalance filalex77 ];
2019-05-08 10:01:20 -07:00
platforms = with platforms; linux ++ darwin;
};
}