about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorRobert Schütz2019-02-24 13:58:13 +0100
committerGitHub2019-02-24 13:58:13 +0100
commit6e5a66f09f21fba56ec30982000cd722c2b9a428 (patch)
tree2a75b3c11e981a7431f31172797dd61658a57b3d /pkgs/development
parent50a17aa46fc881431e502a54e284a20f513a83ab (diff)
parent1011da380715563825b801c9bcc2cbe1b7980c2c (diff)
Merge pull request #56225 from dotlambda/esphome-1.11.0
esphome: 1.10.1 -> 1.11.1
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; {