2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-15 21:12:25 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipaddr";
|
2018-10-24 18:48:46 +01:00
|
|
|
version = "2.2.0";
|
2018-10-15 21:12:25 +01:00
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-24 18:48:46 +01:00
|
|
|
sha256 = "1ml8r8z3f0mnn381qs1snbffa920i9ycp6mm2am1d3aqczkdz4j0";
|
2018-10-15 21:12:25 +01:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-15 21:12:25 +01:00
|
|
|
description = "Google's IP address manipulation library";
|
2019-12-08 16:50:31 +00:00
|
|
|
homepage = "https://github.com/google/ipaddr-py";
|
2018-10-15 21:12:25 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|