Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage
2, django
3, django-stubs-ext
4, fetchPypi
5, lib
6, mypy
7, tomli
8, types-pytz
9, types-pyyaml
10, typing-extensions
11}:
12
13buildPythonPackage rec {
14 pname = "django-stubs";
15 version = "1.12.0";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "sha256-6os10NpJ97LumaeRJfGUPgM0Md0RRybWZDzDXeYZIw4=";
20 };
21
22 propagatedBuildInputs = [
23 django
24 django-stubs-ext
25 mypy
26 tomli
27 types-pytz
28 types-pyyaml
29 typing-extensions
30 ];
31
32 meta = with lib; {
33 description = "PEP-484 stubs for Django";
34 homepage = "https://github.com/typeddjango/django-stubs";
35 license = licenses.mit;
36 maintainers = with maintainers; [ elohmeier ];
37 };
38}