nixpkgs/pkgs/development/python-modules/django-types/default.nix
2023-12-24 15:54:06 +01:00

34 lines
615 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, types-psycopg2
}:
buildPythonPackage rec {
pname = "django-types";
version = "0.19.1";
pyproject = true;
src = fetchPypi {
pname = "django_types";
inherit version;
hash = "sha256-WueYhhLPb7w1ewGLvDs6h4tl4EJ1zEbg011mpwja/xI=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
types-psycopg2
];
meta = with lib; {
description = "Type stubs for Django";
homepage = "https://github.com/sbdchd/django-types";
license = licenses.mit;
maintainers = with maintainers; [ thubrecht ];
};
}