diff options
Diffstat (limited to 'pkgs/development/python-modules/django-otp/default.nix')
-rw-r--r-- | pkgs/development/python-modules/django-otp/default.nix | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/pkgs/development/python-modules/django-otp/default.nix b/pkgs/development/python-modules/django-otp/default.nix index c1078160b6ebc..67395fa588e88 100644 --- a/pkgs/development/python-modules/django-otp/default.nix +++ b/pkgs/development/python-modules/django-otp/default.nix @@ -1,29 +1,28 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, hatchling -, django -, freezegun -, qrcode -, pytest -, python +{ + lib, + buildPythonPackage, + fetchFromGitHub, + hatchling, + django, + freezegun, + qrcode, + pytest, + python, }: buildPythonPackage rec { pname = "django-otp"; - version = "1.3.0post1"; + version = "1.5.0"; pyproject = true; src = fetchFromGitHub { owner = "django-otp"; repo = "django-otp"; rev = "v${version}"; - hash = "sha256-Q8YTCYERyoAXenSiDabxuxaWiD6ZeJKKKgaR/Rg3y20="; + hash = "sha256-c0Yr41S1LFBzcDIK2etOP3rYcCPaThDs+XGiw4WP/ks="; }; - build-system = [ - hatchling - ]; + build-system = [ hatchling ]; dependencies = [ django @@ -47,13 +46,9 @@ buildPythonPackage rec { runHook postCheck ''; - pytestFlagsArray = [ - "src/django_otp/test.py" - ]; + pytestFlagsArray = [ "src/django_otp/test.py" ]; - pythonImportsCheck = [ - "django_otp" - ]; + pythonImportsCheck = [ "django_otp" ]; meta = with lib; { homepage = "https://github.com/django-otp/django-otp"; |