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