Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-05-21 18:39:29 +00:00
committed by GitHub
15 changed files with 241 additions and 230 deletions

View File

@@ -22,6 +22,6 @@ buildPythonPackage rec {
description = "Python library for integration with Braintree";
homepage = "https://github.com/braintree/braintree_python";
license = licenses.mit;
maintainers = [ maintainers.ivegotasthma ];
maintainers = with maintainers; [ ];
};
}

View File

@@ -39,6 +39,6 @@ buildPythonPackage rec {
description = "Python client library for Core API";
homepage = "https://github.com/core-api/python-client";
license = licenses.bsd3;
maintainers = with maintainers; [ ivegotasthma ];
maintainers = with maintainers; [ ];
};
}

View File

@@ -29,6 +29,6 @@ buildPythonPackage rec {
description = "Python client library for Core Schema";
homepage = "https://github.com/ivegotasthma/python-coreschema";
license = licenses.bsd3;
maintainers = with maintainers; [ ivegotasthma ];
maintainers = with maintainers; [ ];
};
}

View File

@@ -42,6 +42,6 @@ buildPythonPackage rec {
description = "Django email backends and webhooks for Mailgun";
homepage = "https://github.com/anymail/django-anymail";
license = licenses.bsd3;
maintainers = with maintainers; [ ivegotasthma ];
maintainers = with maintainers; [ ];
};
}

View File

@@ -30,6 +30,6 @@ buildPythonPackage rec {
description = "Django app for handling server Cross-Origin Resource Sharing (CORS) headers";
homepage = "https://github.com/OttoYiu/django-cors-headers";
license = licenses.mit;
maintainers = [ maintainers.ivegotasthma ];
maintainers = with maintainers; [ ];
};
}

View File

@@ -24,6 +24,6 @@ buildPythonPackage rec {
description = "Django app that makes registration and authentication easy";
homepage = "https://github.com/Tivix/django-rest-auth";
license = licenses.mit;
maintainers = [ maintainers.ivegotasthma ];
maintainers = with maintainers; [ ];
};
}

View File

@@ -1,30 +0,0 @@
{ lib
, fetchPypi
, django
, pyjwt
, djangorestframework
, buildPythonPackage
}:
buildPythonPackage rec {
pname = "djangorestframework-jwt";
version = "1.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "19rng6v1sw14mbjp5cplnrgxjnhlj8faalfw02iihi9s5w1k7zjy";
};
propagatedBuildInputs = [ pyjwt django djangorestframework ];
# ./runtests.py fails because the project must be tested against a django
# installation, there are missing database tables for User, that don't exist.
doCheck = false;
meta = with lib; {
description = "JSON Web Token Authentication support for Django REST Framework";
homepage = "https://github.com/GetBlimp/django-rest-framework-jwt";
license = licenses.mit;
maintainers = [ maintainers.ivegotasthma ];
};
}

View File

@@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyjwt
, djangorestframework
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "drf-jwt";
version = "1.19.0";
src = fetchFromGitHub {
owner = "Styria-Digital";
repo = "django-rest-framework-jwt";
rev = version;
sha256 = "012rmm25w5gvkzi4lyyhn47y1n6g68q9gasga2mkv9i6mn8n4kp7";
};
propagatedBuildInputs = [
pyjwt
djangorestframework
];
# requires setting up a django instance
doCheck = false;
pythonImportsCheck = [
"rest_framework_jwt"
"rest_framework_jwt.blacklist"
# require setting DJANGO_SETTINGS_MODULE
# "rest_framework_jwt.authentication"
# "rest_framework_jwt.blacklist.views"
# "rest_framework_jwt.settings"
# "rest_framework_jwt.utils"
# "rest_framework_jwt.views"
];
meta = with lib; {
description = "JSON Web Token based authentication for Django REST framework";
homepage = "https://github.com/Styria-Digital/django-rest-framework-jwt";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@@ -52,7 +52,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Generation of Swagger/OpenAPI schemas for Django REST Framework";
homepage = "https://github.com/axnsan12/drf-yasg";
maintainers = with maintainers; [ ivegotasthma ];
maintainers = with maintainers; [ ];
license = licenses.bsd3;
};
}

View File

@@ -26,6 +26,6 @@ buildPythonPackage rec {
description = "Simple immutable types for python";
homepage = "https://github.com/tomchristie/itypes";
license = licenses.bsd3;
maintainers = with maintainers; [ ivegotasthma ];
maintainers = with maintainers; [ ];
};
}