about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-02-23 01:56:41 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-02-23 02:08:16 +0100
commit6c5786a1e8260b556cdf331d54966a927ad90fb8 (patch)
treef01286edf2132682788e42ef6398b9280dce110b /pkgs/development
parentd1ccf5bac6abeda610a03a3a92f00996becb094a (diff)
downloadnixlib-6c5786a1e8260b556cdf331d54966a927ad90fb8.tar
nixlib-6c5786a1e8260b556cdf331d54966a927ad90fb8.tar.gz
nixlib-6c5786a1e8260b556cdf331d54966a927ad90fb8.tar.bz2
nixlib-6c5786a1e8260b556cdf331d54966a927ad90fb8.tar.lz
nixlib-6c5786a1e8260b556cdf331d54966a927ad90fb8.tar.xz
nixlib-6c5786a1e8260b556cdf331d54966a927ad90fb8.tar.zst
nixlib-6c5786a1e8260b556cdf331d54966a927ad90fb8.zip
python.pkgs.ifaddr: 0.1.4 -> 0.1.6
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/ifaddr/default.nix12
1 files changed, 3 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/ifaddr/default.nix b/pkgs/development/python-modules/ifaddr/default.nix
index db0b8301f008..5bc281d2be1e 100644
--- a/pkgs/development/python-modules/ifaddr/default.nix
+++ b/pkgs/development/python-modules/ifaddr/default.nix
@@ -7,24 +7,18 @@
 }:
 
 buildPythonPackage rec {
-  version = "0.1.4";
+  version = "0.1.6";
   pname = "ifaddr";
 
   src = fetchPypi {
     inherit pname version;
-    extension = "zip";
-    sha256 = "cf2a8fbb578da2844d999a0a453825f660ed2d3fc47dcffc5f673dd8de4f0f8b";
+    sha256 = "c19c64882a7ad51a394451dabcbbed72e98b5625ec1e79789924d5ea3e3ecb93";
   };
 
-  # ipaddress is provided in python stdlib > 3.3
-  postPatch = if pythonOlder "3.4" then "" else ''
-    sed -i "s/'ipaddress'//" setup.py
-  '';
-
   propagatedBuildInputs = [ ipaddress ];
 
   checkPhase = ''
-   ${python.interpreter} ifaddr/test_ifaddr.py
+   ${python.interpreter} -m unittest discover
   '';
 
   meta = with stdenv.lib; {