diff options
author | Ruslan Babayev <ruslan@babayev.com> | 2016-12-31 16:43:11 -0800 |
---|---|---|
committer | Ruslan Babayev <ruslan@babayev.com> | 2016-12-31 16:43:11 -0800 |
commit | 605b8095ca11a678af83364549d8fc72ba3f4219 (patch) | |
tree | ec4946108584c6a560bc0539c76a36c6d07ba0e8 /pkgs/os-specific/linux/pktgen/default.nix | |
parent | aeb41bbf754b1a9f8ddb815f5ad5f966fa82d25a (diff) | |
download | nixpkgs-605b8095ca11a678af83364549d8fc72ba3f4219.tar nixpkgs-605b8095ca11a678af83364549d8fc72ba3f4219.tar.gz nixpkgs-605b8095ca11a678af83364549d8fc72ba3f4219.tar.bz2 nixpkgs-605b8095ca11a678af83364549d8fc72ba3f4219.tar.lz nixpkgs-605b8095ca11a678af83364549d8fc72ba3f4219.tar.xz nixpkgs-605b8095ca11a678af83364549d8fc72ba3f4219.tar.zst nixpkgs-605b8095ca11a678af83364549d8fc72ba3f4219.zip |
pktgen: 3.0.13 -> 3.1.0
Diffstat (limited to 'pkgs/os-specific/linux/pktgen/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/pktgen/default.nix | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/pkgs/os-specific/linux/pktgen/default.nix b/pkgs/os-specific/linux/pktgen/default.nix index 3ce9617ec5b..2aa4d26f913 100644 --- a/pkgs/os-specific/linux/pktgen/default.nix +++ b/pkgs/os-specific/linux/pktgen/default.nix @@ -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 |