mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
python3Packages.geocachingapi: disable on older Python releases
This commit is contained in:
parent
d1c999a3bc
commit
acd683b462
@ -3,6 +3,7 @@
|
||||
, backoff
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
, yarl
|
||||
}:
|
||||
@ -10,6 +11,9 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "geocachingapi";
|
||||
version = "0.1.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Sholofly";
|
||||
@ -33,7 +37,9 @@ buildPythonPackage rec {
|
||||
# Tests require a token and network access
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "geocachingapi" ];
|
||||
pythonImportsCheck = [
|
||||
"geocachingapi"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API to control the Geocaching API";
|
||||
|
Loading…
Reference in New Issue
Block a user