Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4d80baf9b84d
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 642134d5ad76
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 30, 2020

  1. pythonPackages.djangorestframework-simplejwt: init at 4.4.0

    Farkas, Arnold authored and Jon committed Jan 30, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    mkg20001 Maciej Krüger
    Copy the full SHA
    642134d View commit details
Showing with 25 additions and 0 deletions.
  1. +23 −0 pkgs/development/python-modules/djangorestframework-simplejwt/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, django, djangorestframework, pyjwt }:

buildPythonPackage rec {
pname = "djangorestframework_simplejwt";
version = "4.4.0";

src = fetchPypi {
inherit pname version;
sha256 = "c315be70aa12a5f5790c0ab9acd426c3a58eebea65a77d0893248c5144a5080c";
};

propagatedBuildInputs = [ django djangorestframework pyjwt ];

# Test raises django.core.exceptions.ImproperlyConfigured
doCheck = false;

meta = with lib; {
description = "A minimal JSON Web Token authentication plugin for Django REST Framework";
homepage = "https://github.com/davesque/django-rest-framework-simplejwt";
license = licenses.mit;
maintainers = [ maintainers.arnoldfarkas ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -3327,6 +3327,8 @@ in {

djangorestframework-jwt = callPackage ../development/python-modules/djangorestframework-jwt { };

djangorestframework-simplejwt = callPackage ../development/python-modules/djangorestframework-simplejwt { };

django-raster = callPackage ../development/python-modules/django-raster { };

django_redis = callPackage ../development/python-modules/django_redis { };