flask-api: disable python2.7 (#97766)

This commit is contained in:
freezeboy 2020-09-12 17:57:39 +02:00 committed by GitHub
parent 489f4d807b
commit c70aaa40fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,11 @@
{ lib, buildPythonPackage, fetchPypi, flask, markdown }:
{ lib, buildPythonPackage, pythonOlder, fetchPypi, flask, markdown }:
buildPythonPackage rec {
pname = "Flask-API";
version = "2.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "6986642e5b25b7def710ca9489ed2b88c94006bfc06eca01c78da7cf447e66e5";