Merge pull request #175442 from fabaff/whodap-disable

python310Packages.whodap: disable on older Python releases

Changed files
+6 -6
pkgs
development
python-modules
whodap
+6 -6
pkgs/development/python-modules/whodap/default.nix
···
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
-
, async_generator
, httpx
}:
buildPythonPackage rec {
pname = "whodap";
version = "0.1.5";
+
format = "setuptools";
-
disabled = pythonOlder "3.6";
+
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "pogzyb";
repo = pname;
rev = "refs/tags/v${version}";
-
sha256 = "sha256-Jm3+WMGuYc910TNDVzHjYcbNcts668D3xYORXxozWqA=";
+
hash = "sha256-Jm3+WMGuYc910TNDVzHjYcbNcts668D3xYORXxozWqA=";
};
propagatedBuildInputs = [
httpx
-
] ++ lib.optionals (pythonOlder "3.7") [
-
async_generator
];
checkInputs = [
···
"tests/test_client.py"
];
-
pythonImportsCheck = [ "whodap" ];
+
pythonImportsCheck = [
+
"whodap"
+
];
meta = with lib; {
description = "Python RDAP utility for querying and parsing information about domain names";