mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 16:40:12 +00:00
Merge #37731: procps-ng: update project location
This commit is contained in:
commit
38d6699a93
|
@ -3660,6 +3660,11 @@
|
|||
github = "twey";
|
||||
name = "James ‘Twey’ Kay";
|
||||
};
|
||||
typetetris = {
|
||||
email = "ericwolf42@mail.com";
|
||||
github = "typetetris";
|
||||
name = "Eric Wolf";
|
||||
};
|
||||
unode = {
|
||||
email = "alves.rjc@gmail.com";
|
||||
github = "unode";
|
||||
|
|
|
@ -1,15 +1,24 @@
|
|||
{ lib, stdenv, fetchurl, ncurses }:
|
||||
{ lib, stdenv, fetchFromGitLab, ncurses, libtool, gettext, autoconf, automake, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "procps-${version}";
|
||||
version = "3.3.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/procps-ng/procps-ng-${version}.tar.xz";
|
||||
sha256 = "1m57w6jmry84njd5sgk5afycbglql0al80grx027kwqqcfw5mmkf";
|
||||
src = fetchFromGitLab {
|
||||
owner ="procps-ng";
|
||||
repo = "procps";
|
||||
rev = "v${version}";
|
||||
sha256 = "0k5vvvjn954xqnhk97j62ilwmipbi4gqjcznllmk6ilfmszqczzz";
|
||||
};
|
||||
|
||||
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";
|
||||
|
||||
|
@ -22,10 +31,11 @@ stdenv.mkDerivation rec {
|
|||
"ac_cv_func_realloc_0_nonnull=yes" ];
|
||||
|
||||
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";
|
||||
priority = 10; # less than coreutils, which also provides "kill" and "uptime"
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux ++ lib.platforms.cygwin;
|
||||
maintainers = [ lib.maintainers.typetetris ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue