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