mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
pktgen: 3.0.13 -> 3.1.0
This commit is contained in:
parent
aeb41bbf75
commit
605b8095ca
1 changed files with 3 additions and 8 deletions
|
@ -5,11 +5,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pktgen-${version}";
|
||||
version = "3.0.13";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://dpdk.org/browse/apps/pktgen-dpdk/snapshot/pktgen-${version}.tar.gz";
|
||||
sha256 = "64629b454ed8dc036d5e9bb30b3ae84a0bab0142b651c72da85ab1454e9ae0d6";
|
||||
url = "http://dpdk.org/browse/apps/pktgen-dpdk/snapshot/pktgen-v${version}.tar.gz";
|
||||
sha256 = "1a1dl8h8p76wlcjlvn736mz4nc2nc5c3764rlydiz86wl45mb0nb";
|
||||
};
|
||||
|
||||
nativeBuildInputs = stdenv.lib.optionals withGtk [ pkgconfig ];
|
||||
|
@ -24,11 +24,6 @@ stdenv.mkDerivation rec {
|
|||
|
||||
NIX_CFLAGS_COMPILE = [ "-march=core2" ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace lib/lua/src/luaconf.h --replace /usr/local $out
|
||||
substituteInPlace lib/common/wr_lscpu.h --replace /usr/bin/lscpu ${utillinux}/bin/lscpu
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -d $out/bin
|
||||
install -m 0755 app/app/${RTE_TARGET}/app/pktgen $out/bin
|
||||
|
|
Loading…
Reference in a new issue