mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 09:10:08 +00:00
28 lines
514 B
Nix
28 lines
514 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ipaddr";
|
|
version = "2.2.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-QJLf5mdYjRaqErWay3yKQCTl3LI6aBzQsLYCNz7KiNY=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|