python311Packages.django-types: fix build

+12 -4
+12 -4
pkgs/development/python-modules/django-types/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , poetry-core 5 + , types-psycopg2 5 6 }: 6 7 7 8 buildPythonPackage rec { 8 9 pname = "django-types"; 9 10 version = "0.19.1"; 10 - format = "pyproject"; 11 + pyproject = true; 11 12 12 13 src = fetchPypi { 13 - inherit pname version; 14 + pname = "django_types"; 15 + inherit version; 14 16 hash = "sha256-WueYhhLPb7w1ewGLvDs6h4tl4EJ1zEbg011mpwja/xI="; 15 17 }; 16 18 17 - nativeBuildInputs = [ poetry-core ]; 19 + nativeBuildInputs = [ 20 + poetry-core 21 + ]; 22 + 23 + propagatedBuildInputs = [ 24 + types-psycopg2 25 + ]; 18 26 19 27 meta = with lib; { 20 28 description = "Type stubs for Django"; 21 - homepage = "https://pypi.org/project/django-types"; 29 + homepage = "https://github.com/sbdchd/django-types"; 22 30 license = licenses.mit; 23 31 maintainers = with maintainers; [ thubrecht ]; 24 32 };