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

26 lines
723 B
Nix
Raw Normal View History

2020-01-26 09:20:00 +00:00
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
2019-05-08 17:01:20 +00:00
rustPlatform.buildRustPackage rec {
pname = "procs";
2020-03-13 09:20:00 +00:00
version = "0.9.20";
2019-05-08 17:01:20 +00:00
src = fetchFromGitHub {
owner = "dalance";
repo = pname;
rev = "v${version}";
2020-03-13 09:20:00 +00:00
sha256 = "00qqn8nwv791bs88n302hy67dpas5hcacnkakn7law567klnzxfz";
2019-05-08 17:01:20 +00:00
};
2020-03-13 09:20:00 +00:00
cargoSha256 = "09ib1nlqhzq3mc5wc16mgqbyr652asrwdpbwaax54fm1gd334prl";
2019-05-08 17:01:20 +00: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-18 01:23:19 +00:00
license = licenses.mit;
2020-02-18 01:25:35 +00:00
maintainers = with maintainers; [ dalance filalex77 ];
2019-05-08 17:01:20 +00:00
platforms = with platforms; linux ++ darwin;
};
}