python3Packages.dnspythonchia: init at 2.2.0

This commit is contained in:
Louis Bettens 2021-11-05 12:10:09 +01:00
parent 505caf29fe
commit 516f2db698
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "dnspythonchia";
version = "2.2.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-iYaPYqOZ33R2DUXgIHxsewLi79iB5ja0WHOGkamffZk=";
};
nativeBuildInputs = [ setuptools-scm ];
# needs networking for some tests
doCheck = false;
pythonImportsCheck = [ "dns" ];
meta = with lib; {
description = "A DNS toolkit for Python (Chia Network fork)";
homepage = "https://www.chia.net/";
license = with licenses; [ isc ];
maintainers = teams.chia.members;
};
}

View file

@ -2251,6 +2251,8 @@ in {
dnspython = callPackage ../development/python-modules/dnspython { };
dnspythonchia = callPackage ../development/python-modules/dnspythonchia { };
doc8 = callPackage ../development/python-modules/doc8 { };
docker = callPackage ../development/python-modules/docker { };