blob: 5f8c0efaa8b820bdc61a03a5fe0c8de557300dd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "ipaddr";
version = "2.2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1ml8r8z3f0mnn381qs1snbffa920i9ycp6mm2am1d3aqczkdz4j0";
};
checkPhase = ''
python ipaddr_test.py
'';
meta = {
description = "IP address manipulation library";
homepage = "https://github.com/google/ipaddr-py";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.astro ];
};
}
|