depot/third_party/nixpkgs/pkgs/development/python-modules/ipaddr/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

23 lines
512 B
Nix

{ 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 = with lib; {
description = "IP address manipulation library";
homepage = "https://github.com/google/ipaddr-py";
license = licenses.asl20;
maintainers = [ maintainers.astro ];
};
}