Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
951 B · 49 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, django, django-stubs-ext, fetchPypi, mypy, pytestCheckHook, pythonOlder, tomli, types-pytz, types-pyyaml, typing-extensions}:
buildPythonPackage rec { pname = "django-stubs"; version = "4.2.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-k7r/gk8KBW5xA2tCO5QqdPB7kJ5F4/o4GFuRD1l8XAg="; };
propagatedBuildInputs = [ django django-stubs-ext mypy types-pytz types-pyyaml typing-extensions ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { description = "PEP-484 stubs for Django"; homepage = "https://github.com/typeddjango/django-stubs"; changelog = "https://github.com/typeddjango/django-stubs/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ elohmeier ]; };}