mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
dea43bb0bb
Diff: https://github.com/bdraco/cached-ipaddress/compare/refs/tags/v0.5.0...v0.6.0 Changelog: https://github.com/bdraco/cached-ipaddress/blob/refs/tags/v0.6.0/CHANGELOG.md
48 lines
939 B
Nix
48 lines
939 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
cython,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
pytest-cov-stub,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cached-ipaddress";
|
|
version = "0.6.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bdraco";
|
|
repo = "cached-ipaddress";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-wF5GBQCmKHo3sX4lYA9/wS69x4fFNNh08VG3qMp9UKs=";
|
|
};
|
|
|
|
build-system = [
|
|
cython
|
|
poetry-core
|
|
setuptools
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-cov-stub
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "cached_ipaddress" ];
|
|
|
|
meta = with lib; {
|
|
description = "Cache construction of ipaddress objects";
|
|
homepage = "https://github.com/bdraco/cached-ipaddress";
|
|
changelog = "https://github.com/bdraco/cached-ipaddress/blob/${src.rev}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|