lsof: 4.90 -> 4.91

This commit is contained in:
Will Dietz 2018-04-25 12:49:51 -05:00
parent 43c837b578
commit 30357e203a

View File

@ -4,13 +4,13 @@ let dialect = with stdenv.lib; last (splitString "-" stdenv.system); in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "lsof-${version}"; name = "lsof-${version}";
version = "4.90"; version = "4.91";
depsBuildBuild = [ buildPackages.stdenv.cc ]; depsBuildBuild = [ buildPackages.stdenv.cc ];
buildInputs = [ ncurses ]; buildInputs = [ ncurses ];
src = fetchurl { src = fetchurl {
urls = ["https://fossies.org/linux/misc/lsof_4.90.tar.bz2"] ++ # Mirrors seem to be down... urls = ["https://fossies.org/linux/misc/lsof_${version}.tar.bz2"] ++ # Mirrors seem to be down...
["ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${version}.tar.bz2"] ["ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${version}.tar.bz2"]
++ map ( ++ map (
# the tarball is moved after new version is released # the tarball is moved after new version is released
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
+ "${stdenv.lib.optionalString isOld "OLD/"}lsof_${version}.tar.bz2" + "${stdenv.lib.optionalString isOld "OLD/"}lsof_${version}.tar.bz2"
) [ false true ] ) [ false true ]
; ;
sha256 = "1xhn3amvl5mmwji5g90nkw7lfmh2494v18qbv1f729hrg468853g"; sha256 = "18sh4hbl9jw2szkf0gvgan8g13f3g4c6s2q9h3zq5gsza9m99nn9";
}; };
unpackPhase = "tar xvjf $src; cd lsof_*; tar xvf lsof_*.tar; sourceRoot=$( echo lsof_*/); "; unpackPhase = "tar xvjf $src; cd lsof_*; tar xvf lsof_*.tar; sourceRoot=$( echo lsof_*/); ";