summary refs log tree commit diff
path: root/pkgs/os-specific/linux/procps-ng
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-04-26 09:21:58 -0500
committerWill Dietz <w@wdtz.org>2018-04-26 09:23:49 -0500
commit38ef327aec2d59e484438c36851c0c3ac930ca7a (patch)
treeac9afd20080940c38d8694920c0e6eb4ac70c8e8 /pkgs/os-specific/linux/procps-ng
parent6e623fb07b6d0642b10f878148dea14ad8ff4d74 (diff)
downloadnixlib-38ef327aec2d59e484438c36851c0c3ac930ca7a.tar
nixlib-38ef327aec2d59e484438c36851c0c3ac930ca7a.tar.gz
nixlib-38ef327aec2d59e484438c36851c0c3ac930ca7a.tar.bz2
nixlib-38ef327aec2d59e484438c36851c0c3ac930ca7a.tar.lz
nixlib-38ef327aec2d59e484438c36851c0c3ac930ca7a.tar.xz
nixlib-38ef327aec2d59e484438c36851c0c3ac930ca7a.tar.zst
nixlib-38ef327aec2d59e484438c36851c0c3ac930ca7a.zip
procps-ng: Use official release tarballs, fix version.
Also no need to re-generate config bits,
which is good since we encountered an error when trying to do so.

Fixes #39538.
Diffstat (limited to 'pkgs/os-specific/linux/procps-ng')
-rw-r--r--pkgs/os-specific/linux/procps-ng/default.nix15
1 files changed, 5 insertions, 10 deletions
diff --git a/pkgs/os-specific/linux/procps-ng/default.nix b/pkgs/os-specific/linux/procps-ng/default.nix
index d164af63315f..08420e36c65b 100644
--- a/pkgs/os-specific/linux/procps-ng/default.nix
+++ b/pkgs/os-specific/linux/procps-ng/default.nix
@@ -1,22 +1,17 @@
-{ lib, stdenv, fetchurl, ncurses, libtool, gettext, autoconf, automake, pkgconfig }:
+{ lib, stdenv, fetchurl, ncurses, pkgconfig }:
 
 stdenv.mkDerivation rec {
   name = "procps-${version}";
   version = "3.3.14";
 
+  # The project's releases are on SF, but git repo on gitlab.
   src = fetchurl {
-    url = "https://gitlab.com/procps-ng/procps/-/archive/v${version}/procps-v${version}.tar.bz2";
-    sha256 = "0igvsl3s7m5ygxgypzksk4cp2wkvv3lk49s7i9m5wbimyakmr0vf";
+    url = "mirror://sourceforge/procps-ng/procps-ng-${version}.tar.xz";
+    sha256 = "0v3j6rkzzscqds37i105cxx3q4dk04rsgpqfd5p7hzcvk59h5njy";
   };
 
   buildInputs = [ ncurses ];
-  nativeBuildInputs = [ libtool gettext autoconf automake pkgconfig ];
-
-  # autoreconfHook doesn't quite get, what procps-ng buildprocss does
-  # with po/Makefile.in.in and stuff.
-  preConfigure = ''
-    ./autogen.sh
-  '';
+  nativeBuildInputs = [ pkgconfig ];
 
   makeFlags = "usrbin_execdir=$(out)/bin";