@@ -1,22 +1,30 @@
1−{ stdenv, fetchFromGitHub, rustPlatform
1+{ stdenv, fetchFromGitHub, rustPlatform, fetchpatch
5rustPlatform.buildRustPackage rec {
5rustPlatform.buildRustPackage rec {
6 pname = "procs";
6 pname = "procs";
7− version = "0.8.13";
7+ version = "0.8.16";
9 src = fetchFromGitHub {
9 src = fetchFromGitHub {
10 owner = "dalance";
10 owner = "dalance";
11 repo = pname;
11 repo = pname;
12 rev = "v${version}";
12 rev = "v${version}";
13− sha256 = "0yy41v2crds9500fa4r0kqiddciqkilr2h13nrjqy44ckvw2mi5y";
13+ sha256 = "0l4n3gr1sc7wfa21p8yh7idaii0mnfpyqp4cg7f9l4345isy94vq";
16− cargoSha256 = "1gnl97h0l9k8xnrwl6807qlbx13vd45kmla02mk9p1h52sr0din5";
16+ cargoSha256 = "03c63dlzvag341n6la1s61ccri1avlprd91m11z9zzjhi9b46kcr";
18 buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
18 buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
21+ # Fix tests on darwin. Remove with the next release
23+ url = "https://github.com/dalance/procs/commit/bb554e247b5b339bc00fa5dd2e771b0d7cb09cd5.patch";
24+ sha256 = "1szvvifa4pdbgdsmdj5f0zq6qzf1lh6wwc6ipawblfzwmg7d9wvk";
20 meta = with stdenv.lib; {
28 meta = with stdenv.lib; {
21 description = "A modern replacement for ps written in Rust";
29 description = "A modern replacement for ps written in Rust";
22 homepage = "https://github.com/dalance/procs";
30 homepage = "https://github.com/dalance/procs";