mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 23:13:56 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
24 lines
512 B
Nix
24 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 ];
|
|
};
|
|
}
|