procps: 3.3.16 -> 3.3.17

This commit is contained in:
Aaron Jheng 2022-11-04 11:55:46 +00:00
parent 45b5466818
commit 8c7c33237b
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3

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 ];