Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / ipaddr / default.nix
blob41ef6faa7c37dbd879b7f6442f64080b09ceffd3
1 { lib, buildPythonPackage, fetchPypi }:
3 buildPythonPackage rec {
4   pname = "ipaddr";
5   version = "2.2.0";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "1ml8r8z3f0mnn381qs1snbffa920i9ycp6mm2am1d3aqczkdz4j0";
10   };
12   checkPhase = ''
13     python ipaddr_test.py
14   '';
16   meta = with lib; {
17     description = "IP address manipulation library";
18     homepage = "https://github.com/google/ipaddr-py";
19     license = licenses.asl20;
20     maintainers = [ maintainers.astro ];
21   };