procps-ng: updated project location
- use the real project location and not some sf.net mirror - the meta attribute shouldn't point users to a website cluttered with ads (sf.net) where they probably just follow the link to the real project location - adapted the build to the new archive
This commit is contained in:
parent
1b27260a0b
commit
67b23ee0d9
|
@ -1,15 +1,24 @@
|
||||||
{ lib, stdenv, fetchurl, ncurses }:
|
{ lib, stdenv, fetchFromGitLab, ncurses, libtool, gettext, autoconf, automake, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "procps-${version}";
|
name = "procps-${version}";
|
||||||
version = "3.3.12";
|
version = "3.3.12";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitLab {
|
||||||
url = "mirror://sourceforge/procps-ng/procps-ng-${version}.tar.xz";
|
owner ="procps-ng";
|
||||||
sha256 = "1m57w6jmry84njd5sgk5afycbglql0al80grx027kwqqcfw5mmkf";
|
repo = "procps";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0k5vvvjn954xqnhk97j62ilwmipbi4gqjcznllmk6ilfmszqczzz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ncurses ];
|
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
|
||||||
|
'';
|
||||||
|
|
||||||
makeFlags = "usrbin_execdir=$(out)/bin";
|
makeFlags = "usrbin_execdir=$(out)/bin";
|
||||||
|
|
||||||
|
@ -22,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||||
"ac_cv_func_realloc_0_nonnull=yes" ];
|
"ac_cv_func_realloc_0_nonnull=yes" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://sourceforge.net/projects/procps-ng/;
|
homepage = https://gitlab.com/procps-ng/procps;
|
||||||
description = "Utilities that give information about processes using the /proc filesystem";
|
description = "Utilities that give information about processes using the /proc filesystem";
|
||||||
priority = 10; # less than coreutils, which also provides "kill" and "uptime"
|
priority = 10; # less than coreutils, which also provides "kill" and "uptime"
|
||||||
license = lib.licenses.gpl2;
|
license = lib.licenses.gpl2;
|
||||||
|
|
Loading…
Reference in a new issue