python3Packages.django-stubs-ext: init at 0.5.0

This commit is contained in:
Enno Richter 2022-09-07 12:00:10 +02:00
parent 9b5ce94287
commit 26a727ef44
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ buildPythonPackage, django, fetchPypi, lib, typing-extensions }:
buildPythonPackage rec {
pname = "django-stubs-ext";
version = "0.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-m9dBg3arALf4jW1Wvp/s6Fv6DHw0isYhFV+k16kRRvI=";
};
# setup.cfg tries to pull in nonexistent LICENSE.txt file
postPatch = "rm setup.cfg";
propagatedBuildInputs = [ django typing-extensions ];
meta = with lib; {
description = "Extensions and monkey-patching for django-stubs";
homepage = "https://github.com/typeddjango/django-stubs";
license = licenses.mit;
maintainers = with maintainers; [ elohmeier ];
};
}

View File

@ -2616,6 +2616,8 @@ in {
django-storages = callPackage ../development/python-modules/django-storages { };
django-stubs-ext = callPackage ../development/python-modules/django-stubs-ext { };
django-tables2 = callPackage ../development/python-modules/django-tables2 { };
django_tagging = callPackage ../development/python-modules/django_tagging { };