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

26 lines
715 B
Nix
Raw Normal View History

2020-01-26 04:20:00 -05:00
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
2019-05-09 02:01:20 +09:00
rustPlatform.buildRustPackage rec {
pname = "procs";
2020-01-31 04:20:00 -05:00
version = "0.9.5";
2019-05-09 02:01:20 +09:00
src = fetchFromGitHub {
owner = "dalance";
repo = pname;
rev = "v${version}";
2020-01-31 04:20:00 -05:00
sha256 = "1c2faw88np5dsbnd915m9a2fkx3a7xy9ii0xvacxkrv3z2zab3fc";
2019-05-09 02:01:20 +09:00
};
2020-01-31 04:20:00 -05:00
cargoSha256 = "11wv02nn6gp32zzcd6kmsh6ky0dzyk1qqhb5vxvmq2nxhxjlddwv";
2019-05-09 02:01:20 +09: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";
license = with licenses; [ mit ];
maintainers = [ maintainers.dalance ];
platforms = with platforms; linux ++ darwin;
};
}