summary refs log tree commit diff
path: root/pkgs/development/python-modules/txtorcon
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-02-27 22:24:09 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-02-27 23:04:16 +0100
commit34c87c1ac2375cdf5e075c32deff4364304a76f5 (patch)
tree86903413f0fba6ae093443f9aacac4b619cebfe8 /pkgs/development/python-modules/txtorcon
parent5d7f24e8b5be46ff4cccb7e5954d9cf27cea907a (diff)
downloadnixpkgs-34c87c1ac2375cdf5e075c32deff4364304a76f5.tar
nixpkgs-34c87c1ac2375cdf5e075c32deff4364304a76f5.tar.gz
nixpkgs-34c87c1ac2375cdf5e075c32deff4364304a76f5.tar.bz2
nixpkgs-34c87c1ac2375cdf5e075c32deff4364304a76f5.tar.lz
nixpkgs-34c87c1ac2375cdf5e075c32deff4364304a76f5.tar.xz
nixpkgs-34c87c1ac2375cdf5e075c32deff4364304a76f5.tar.zst
nixpkgs-34c87c1ac2375cdf5e075c32deff4364304a76f5.zip
pythonPackages.txtorcon: remove superfluous patch
Diffstat (limited to 'pkgs/development/python-modules/txtorcon')
-rw-r--r--pkgs/development/python-modules/txtorcon/default.nix8
1 files changed, 0 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/txtorcon/default.nix b/pkgs/development/python-modules/txtorcon/default.nix
index 2e7c07c74f3..09004e9337a 100644
--- a/pkgs/development/python-modules/txtorcon/default.nix
+++ b/pkgs/development/python-modules/txtorcon/default.nix
@@ -3,7 +3,6 @@
 , GeoIP}:
 
 buildPythonPackage rec {
-  name = "${pname}-${version}";
   pname = "txtorcon";
   version = "0.20.0";
 
@@ -19,13 +18,6 @@ buildPythonPackage rec {
     sha256 = "dc80cb76b3ddacef6d671c0a088cb1a45274c0858554c32ce55d0f41421c740e";
   };
 
-  # ipaddress isn't required for Python 3 although it's in requirements.txt.
-  # Because ipaddress doesn't install on Python 3, remove the requirement so the
-  # installation of this package doesn't fail on Python 3.
-  postPatch = "" + lib.optionalString isPy3k ''
-    substituteInPlace requirements.txt --replace "ipaddress>=1.0.16" ""
-  '';
-
   # Skip a failing test until fixed upstream:
   # https://github.com/meejah/txtorcon/issues/250
   checkPhase = ''