about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/django-types/default.nix
blob: 908fb1bd0ed1f2614627e15f200b95dd8dbe4c46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ 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 ];
  };
}