git.iko.soy/typeable/nixpkgs
on master help sign in
pktgen: 3.0.13 -> 3.1.0
commit605b8095ca11a678af83364549d8fc72ba3f4219 authorRuslan Babayev <ruslan@babayev.com> dateSat 31 Dec 2016, 16:43 (10 years ago) parentaeb41bb
1 file changed+3−8
pkgs/os-specific/linux/pktgen/default.nix+3−8
pkgs/os-specific/linux/pktgen/default.nix+3−8
@@ -5,11 +5,11 @@
55
66stdenv.mkDerivation rec {
77 name = "pktgen-${version}";
8− version = "3.0.13";
8+ version = "3.1.0";
99
1010 src = fetchurl {
11− url = "http://dpdk.org/browse/apps/pktgen-dpdk/snapshot/pktgen-${version}.tar.gz";
12− sha256 = "64629b454ed8dc036d5e9bb30b3ae84a0bab0142b651c72da85ab1454e9ae0d6";
11+ url = "http://dpdk.org/browse/apps/pktgen-dpdk/snapshot/pktgen-v${version}.tar.gz";
12+ sha256 = "1a1dl8h8p76wlcjlvn736mz4nc2nc5c3764rlydiz86wl45mb0nb";
1313 };
1414
1515 nativeBuildInputs = stdenv.lib.optionals withGtk [ pkgconfig ];
@@ -24,11 +24,6 @@ stdenv.mkDerivation rec {
2424
2525 NIX_CFLAGS_COMPILE = [ "-march=core2" ];
2626
27− postPatch = ''
28− substituteInPlace lib/lua/src/luaconf.h --replace /usr/local $out
29− substituteInPlace lib/common/wr_lscpu.h --replace /usr/bin/lscpu ${utillinux}/bin/lscpu
30− '';
31−
3227 installPhase = ''
3328 install -d $out/bin
3429 install -m 0755 app/app/${RTE_TARGET}/app/pktgen $out/bin