lsof: add one more mirror, the second one seems unavailable (and the original site is too picky about NATs)
commit94e87bd79bd04bc54efef21b93c8bbf5ffec40e8
authorMichael Raskin <7c6f434c@mail.ru>
dateTue 4 Oct 2016, 10:16 (10 years ago)
parent5175808
pkgs/development/tools/misc/lsof/default.nix+7−1
@@ -11,7 +11,13 @@ stdenv.mkDerivation rec {
1111 # the tarball is moved after new version is released
1212 isOld: "ftp://sunsite.ualberta.ca/pub/Mirror/lsof/"
1313 + "${stdenv.lib.optionalString isOld "OLD/"}lsof_${version}.tar.bz2"
14− ) [ false true ];
14+ ) [ false true ]
15+ ++ map (
16+ # the tarball is moved after new version is released
17+ isOld: "http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/"
18+ + "${stdenv.lib.optionalString isOld "OLD/"}lsof_${version}.tar.bz2"
19+ ) [ false true ]
20+ ;
1521 sha256 = "061p18v0mhzq517791xkjs8a5dfynq1418a1mwxpji69zp2jzb41";
1622 };
1723