Loading pkgs/development/python-modules/django-stubs/default.nix +16 −5 Original line number Diff line number Diff line { buildPythonPackage { lib , buildPythonPackage , django , django-stubs-ext , fetchPypi , lib , mypy , pytestCheckHook , pythonOlder , tomli , types-pytz , types-pyyaml Loading @@ -12,26 +14,35 @@ buildPythonPackage rec { pname = "django-stubs"; version = "1.15.0"; version = "4.2.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-C7+esXLFsG7M/y1wTHw5BuSixhRt+MMu6fOlHikmVYE="; hash = "sha256-k7r/gk8KBW5xA2tCO5QqdPB7kJ5F4/o4GFuRD1l8XAg="; }; propagatedBuildInputs = [ django django-stubs-ext mypy tomli 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 ]; }; Loading Loading
pkgs/development/python-modules/django-stubs/default.nix +16 −5 Original line number Diff line number Diff line { buildPythonPackage { lib , buildPythonPackage , django , django-stubs-ext , fetchPypi , lib , mypy , pytestCheckHook , pythonOlder , tomli , types-pytz , types-pyyaml Loading @@ -12,26 +14,35 @@ buildPythonPackage rec { pname = "django-stubs"; version = "1.15.0"; version = "4.2.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-C7+esXLFsG7M/y1wTHw5BuSixhRt+MMu6fOlHikmVYE="; hash = "sha256-k7r/gk8KBW5xA2tCO5QqdPB7kJ5F4/o4GFuRD1l8XAg="; }; propagatedBuildInputs = [ django django-stubs-ext mypy tomli 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 ]; }; Loading