Merge pull request #78368 from marsam/update-procs
procs: 0.8.16 -> 0.9.0
This commit is contained in:
commit
a8c301e72e
|
@ -4,27 +4,19 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "procs";
|
pname = "procs";
|
||||||
version = "0.8.16";
|
version = "0.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dalance";
|
owner = "dalance";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0l4n3gr1sc7wfa21p8yh7idaii0mnfpyqp4cg7f9l4345isy94vq";
|
sha256 = "1lprxfy733rs39fg8yif3p8vz9szk7d529ahn1kn70zm8i3mqpch";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "03c63dlzvag341n6la1s61ccri1avlprd91m11z9zzjhi9b46kcr";
|
cargoSha256 = "11l2dggvkk2vx4xap2q02qrr576i4mswf67plhg23azr43fpi0r5";
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix tests on darwin. Remove with the next release
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/dalance/procs/commit/bb554e247b5b339bc00fa5dd2e771b0d7cb09cd5.patch";
|
|
||||||
sha256 = "1szvvifa4pdbgdsmdj5f0zq6qzf1lh6wwc6ipawblfzwmg7d9wvk";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A modern replacement for ps written in Rust";
|
description = "A modern replacement for ps written in Rust";
|
||||||
homepage = "https://github.com/dalance/procs";
|
homepage = "https://github.com/dalance/procs";
|
||||||
|
|
Loading…
Reference in New Issue