ce641f4048
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
30 lines
644 B
Nix
30 lines
644 B
Nix
{ 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;
|
|
};
|
|
}
|