summary refs log tree commit diff
path: root/pkgs/tools/virtualization
diff options
context:
space:
mode:
authorMatthieu Coudron <mcoudron@hotmail.com>2021-05-22 01:31:34 +0200
committerMatthieu Coudron <teto@users.noreply.github.com>2021-10-10 22:31:45 +0200
commitfb79f910b79c70a4bbbf7a19873f8a95b6732df2 (patch)
tree7d6736d3ee183889633729fcc6f88e50290d17bf /pkgs/tools/virtualization
parent71e04f8372db92c85583cdca112d189361f0936a (diff)
downloadnixpkgs-fb79f910b79c70a4bbbf7a19873f8a95b6732df2.tar
nixpkgs-fb79f910b79c70a4bbbf7a19873f8a95b6732df2.tar.gz
nixpkgs-fb79f910b79c70a4bbbf7a19873f8a95b6732df2.tar.bz2
nixpkgs-fb79f910b79c70a4bbbf7a19873f8a95b6732df2.tar.lz
nixpkgs-fb79f910b79c70a4bbbf7a19873f8a95b6732df2.tar.xz
nixpkgs-fb79f910b79c70a4bbbf7a19873f8a95b6732df2.tar.zst
nixpkgs-fb79f910b79c70a4bbbf7a19873f8a95b6732df2.zip
mininet: 2.3.0d6 -> 2.3.0
Diffstat (limited to 'pkgs/tools/virtualization')
-rw-r--r--pkgs/tools/virtualization/mininet/default.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/tools/virtualization/mininet/default.nix b/pkgs/tools/virtualization/mininet/default.nix
index 78ddc8e6dfd..ccc79d36c8f 100644
--- a/pkgs/tools/virtualization/mininet/default.nix
+++ b/pkgs/tools/virtualization/mininet/default.nix
@@ -1,15 +1,15 @@
 { stdenv, lib, fetchFromGitHub
 , which
-, python
+, python3
 , help2man
 }:
 
 let
-  pyEnv = python.withPackages(ps: [ ps.setuptools ]);
+  pyEnv = python3.withPackages(ps: [ ps.setuptools ]);
 in
 stdenv.mkDerivation rec {
   pname = "mininet";
-  version = "2.3.0d6";
+  version = "2.3.0";
 
   outputs = [ "out" "py" ];
 
@@ -17,14 +17,16 @@ stdenv.mkDerivation rec {
     owner = "mininet";
     repo = "mininet";
     rev = version;
-    sha256 = "0wc6gni9dxj9jjnw66a28jdvcfm8bxv1i776m5dh002bn5wjcl6x";
+    sha256 = "sha256-bCppmeB+zQMKTptnzhsXtl72XJXU3USo7cQgP1Z6SrY=";
   };
 
   buildFlags = [ "mnexec" ];
   makeFlags = [ "PREFIX=$(out)" ];
 
-  pythonPath = [ python.pkgs.setuptools ];
-  buildInputs = [ python which help2man ];
+  pythonPath = [ python3.pkgs.setuptools ];
+  nativeBuildInputs = [ help2man ];
+
+  propagatedBuildInputs = [ python3 which ];
 
   installTargets = [ "install-mnexec" "install-manpages" ];
 
@@ -40,7 +42,7 @@ stdenv.mkDerivation rec {
   meta = with lib; {
     description = "Emulator for rapid prototyping of Software Defined Networks";
     license = {
-      fullName = "Mininet 2.3.0d6 License";
+      fullName = "Mininet 2.3.0 License";
     };
     platforms = platforms.linux;
     homepage = "https://github.com/mininet/mininet";