diff --git a/pkgs/development/python-modules/django-types/default.nix b/pkgs/development/python-modules/django-types/default.nix index e79530ccda73..908fb1bd0ed1 100644 --- a/pkgs/development/python-modules/django-types/default.nix +++ b/pkgs/development/python-modules/django-types/default.nix @@ -2,23 +2,31 @@ , buildPythonPackage , fetchPypi , poetry-core +, types-psycopg2 }: buildPythonPackage rec { pname = "django-types"; version = "0.19.1"; - format = "pyproject"; + pyproject = true; src = fetchPypi { - inherit pname version; + pname = "django_types"; + inherit version; hash = "sha256-WueYhhLPb7w1ewGLvDs6h4tl4EJ1zEbg011mpwja/xI="; }; - nativeBuildInputs = [ poetry-core ]; + nativeBuildInputs = [ + poetry-core + ]; + + propagatedBuildInputs = [ + types-psycopg2 + ]; meta = with lib; { description = "Type stubs for Django"; - homepage = "https://pypi.org/project/django-types"; + homepage = "https://github.com/sbdchd/django-types"; license = licenses.mit; maintainers = with maintainers; [ thubrecht ]; };