git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #75359 from marsam/update-procs
7ddeecdMario Rodas
pkgs/tools/admin/procs/default.nix+12−4
@@ -1,22 +1,30 @@
1−{ stdenv, fetchFromGitHub, rustPlatform
1+{ stdenv, fetchFromGitHub, rustPlatform, fetchpatch
2, Security
2, Security
3}:
3}:
4
4
5rustPlatform.buildRustPackage rec {
5rustPlatform.buildRustPackage rec {
6 pname = "procs";
6 pname = "procs";
7− version = "0.8.13";
7+ version = "0.8.16";
8
8
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";
14 };
14 };
15
15
16− cargoSha256 = "1gnl97h0l9k8xnrwl6807qlbx13vd45kmla02mk9p1h52sr0din5";
16+ cargoSha256 = "03c63dlzvag341n6la1s61ccri1avlprd91m11z9zzjhi9b46kcr";
17
17
18 buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
18 buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
19
19
20+ patches = [
21+ # Fix tests on darwin. Remove with the next release
22+ (fetchpatch {
23+ url = "https://github.com/dalance/procs/commit/bb554e247b5b339bc00fa5dd2e771b0d7cb09cd5.patch";
24+ sha256 = "1szvvifa4pdbgdsmdj5f0zq6qzf1lh6wwc6ipawblfzwmg7d9wvk";
25+ })
26+ ];
27+
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";