python310Packages.djangorestframework-simplejwt: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-10-02 12:14:16 +02:00 committed by GitHub
parent 95bf0d35e0
commit 91766f2ab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,17 +5,21 @@
, fetchPypi
, pyjwt
, python-jose
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "djangorestframework-simplejwt";
version = "5.2.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "djangorestframework_simplejwt";
inherit version;
sha256 = "sha256-dhOHTDIqP24zDMEY+fAKPblX/qf4477YG6RRhTzR29U=";
hash = "sha256-dhOHTDIqP24zDMEY+fAKPblX/qf4477YG6RRhTzR29U=";
};
nativeBuildInputs = [