python311Packages.django-types: fix build

This commit is contained in:
Martin Weinelt
2023-12-24 15:54:06 +01:00
parent abb1103e74
commit 3b8486ea05
@@ -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 ];
};