Files
nixpkgs/pkgs/development/python-modules/django-stubs/default.nix
T
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

39 lines
681 B
Nix

{ buildPythonPackage
, django
, django-stubs-ext
, fetchPypi
, lib
, mypy
, tomli
, types-pytz
, types-pyyaml
, typing-extensions
}:
buildPythonPackage rec {
pname = "django-stubs";
version = "1.15.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-C7+esXLFsG7M/y1wTHw5BuSixhRt+MMu6fOlHikmVYE=";
};
propagatedBuildInputs = [
django
django-stubs-ext
mypy
tomli
types-pytz
types-pyyaml
typing-extensions
];
meta = with lib; {
description = "PEP-484 stubs for Django";
homepage = "https://github.com/typeddjango/django-stubs";
license = licenses.mit;
maintainers = with maintainers; [ elohmeier ];
};
}