Merge pull request #46977 from r-ryantm/auto-update/psmisc

psmisc: 23.1 -> 23.2
This commit is contained in:
xeji 2018-09-27 10:49:29 +02:00 committed by GitHub
commit 929680d531
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,19 +1,30 @@
{stdenv, fetchurl, ncurses}:
{stdenv, fetchFromGitLab, autoconf, automake, gettext, ncurses}:
stdenv.mkDerivation rec {
name = "psmisc-23.1";
pname = "psmisc";
version = "23.2";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://sourceforge/psmisc/${name}.tar.xz";
sha256 = "0c5s94hqpwfmyswx2f96gifa6wdbpxxpkyxcrlzbxpvmrxsd911f";
src = fetchFromGitLab {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "0d90wmibxpkl0d7sdibvvkwpyxyg6m6ksh5gwrjh15vf1swvd5i1";
};
buildInputs = [ncurses];
nativeBuildInputs = [ autoconf automake gettext ];
buildInputs = [ ncurses ];
meta = {
homepage = http://psmisc.sourceforge.net/;
preConfigure = ''
echo $version > .tarball-version
./autogen.sh
'';
meta = with stdenv.lib; {
homepage = https://gitlab.com/psmisc/psmisc;
description = "A set of small useful utilities that use the proc filesystem (such as fuser, killall and pstree)";
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.gpl2Plus;
platforms = platforms.linux;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ryantm ];
};
}