My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/dnspythonchia/default.nix

30 lines
644 B

{ 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;
};
}