1{ buildPythonPackage, django, fetchPypi, lib, typing-extensions }:
2
3buildPythonPackage rec {
4 pname = "django-stubs-ext";
5 version = "0.5.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "sha256-m9dBg3arALf4jW1Wvp/s6Fv6DHw0isYhFV+k16kRRvI=";
10 };
11
12 # setup.cfg tries to pull in nonexistent LICENSE.txt file
13 postPatch = "rm setup.cfg";
14
15 propagatedBuildInputs = [ django typing-extensions ];
16
17 meta = with lib; {
18 description = "Extensions and monkey-patching for django-stubs";
19 homepage = "https://github.com/typeddjango/django-stubs";
20 license = licenses.mit;
21 maintainers = with maintainers; [ elohmeier ];
22 };
23}