python3Packages.cattrs: disable for python older than 3.7
This commit is contained in:
parent
d7b66a7a01
commit
2fee354ae4
1 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, attrs
|
||||
, bson
|
||||
, pythonOlder
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, hypothesis
|
||||
|
@ -18,6 +19,10 @@ buildPythonPackage rec {
|
|||
version = "1.7.0";
|
||||
format = "pyproject";
|
||||
|
||||
# https://cattrs.readthedocs.io/en/latest/history.html#id33:
|
||||
# "Python 2, 3.5 and 3.6 support removal. If you need it, use a version below 1.1.0."
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Tinche";
|
||||
repo = pname;
|
||||
|
|
Loading…
Reference in a new issue