pythonPackages.ipaddr: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-15 16:12:25 -04:00
committed by Frederik Rietdijk
parent 076857913f
commit b0e0dd399b
2 changed files with 24 additions and 16 deletions

View File

@@ -0,0 +1,23 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "ipaddr";
version = "2.1.11";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1dwq3ngsapjc93fw61rp17fvzggmab5x1drjzvd4y4q0i255nm8v";
};
meta = with stdenv.lib; {
description = "Google's IP address manipulation library";
homepage = http://code.google.com/p/ipaddr-py/;
license = licenses.asl20;
};
}