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-11-11 21:55:31 +00:00
|
|
|
version = "0.10.7";
|
2019-05-08 18:01:20 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dalance";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-11-11 21:55:31 +00:00
|
|
|
sha256 = "0aaspzx8sna1m5zldql0ps3sldazwr32q0md0p8z3nimww24i3b3";
|
2019-05-08 18:01:20 +01:00
|
|
|
};
|
|
|
|
|
2020-11-11 21:55:31 +00:00
|
|
|
cargoSha256 = "1nb38nnmmc4hf8crp0bka029hlph15zm796nqziq25i26cgz4xvp";
|
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-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ dalance Br1ght0ne ];
|
2019-05-08 18:01:20 +01:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
|
|
|
};
|
|
|
|
}
|