Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / ipaddr / default.nix
blob959d5c878f07dcdcece4882354e41dbda9fb100e
1 { lib, buildPythonPackage, fetchPypi }:
3 buildPythonPackage rec {
4   pname = "ipaddr";
5   version = "2.2.0";
6   format = "setuptools";
8   src = fetchPypi {
9     inherit pname version;
10     sha256 = "1ml8r8z3f0mnn381qs1snbffa920i9ycp6mm2am1d3aqczkdz4j0";
11   };
13   checkPhase = ''
14     python ipaddr_test.py
15   '';
17   meta = with lib; {
18     description = "IP address manipulation library";
19     homepage = "https://github.com/google/ipaddr-py";
20     license = licenses.asl20;
21     maintainers = [ maintainers.astro ];
22   };