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

26 lines
722 B
Nix
Raw Normal View History

2020-01-26 09:20:00 +00:00
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
2019-05-08 18:01:20 +01:00
rustPlatform.buildRustPackage rec {
pname = "procs";
2020-05-11 09:49:57 +01:00
version = "0.10.3";
2019-05-08 18:01:20 +01:00
src = fetchFromGitHub {
owner = "dalance";
repo = pname;
rev = "v${version}";
2020-05-11 09:49:57 +01:00
sha256 = "0lg4v32jx0fxcjz6cj6cxxlg7rhj75k4p75izpkk4l11xpxqhgjm";
2019-05-08 18:01:20 +01:00
};
2020-05-11 09:49:57 +01:00
cargoSha256 = "05qqy6l28ihn7hykkkh1x7z3q58cdrwv76fc22xjcg20985ac2nx";
2019-05-08 18:01:20 +01: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-04-20 17:15:05 +01:00
maintainers = with maintainers; [ dalance filalex77 ];
2019-05-08 18:01:20 +01:00
platforms = with platforms; linux ++ darwin;
};
}