Merge pull request #199513 from aaronjheng/procps

procps: 3.3.16 -> 3.3.17
This commit is contained in:
Mario Rodas 2022-11-13 07:45:12 -05:00 committed by GitHub
commit 264b2d17ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, ncurses
, pkg-config
@ -19,22 +18,14 @@
stdenv.mkDerivation rec {
pname = "procps";
version = "3.3.16";
version = "3.3.17";
# The project's releases are on SF, but git repo on gitlab.
src = fetchurl {
url = "mirror://sourceforge/procps-ng/procps-ng-${version}.tar.xz";
sha256 = "1br0g93ysqhlv13i1k4lfbimsgxnpy5rgs4lxfc9rkzdbpbaqplj";
sha256 = "sha256-RRiz56r9NOwH0AY9JQ/UdJmbILIAIYw65W9dIRPxQbQ=";
};
patches = [
(fetchpatch {
url = "https://gitlab.com/procps-ng/procps/-/commit/bb96fc42956c9ed926a1b958ab715f8b4a663dec.diff";
sha256 = "0fzsb6ns3fvrszyzsz28qvbmcn135ilr4nwh2z1a0vlpl2fw961z";
name = "sysconf-argmax-sanity.patch";
})
];
buildInputs = [ ncurses ]
++ lib.optional withSystemd systemd;
nativeBuildInputs = [ pkg-config ];