evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / django-ninja / default.nix
blob4a953cfed3fd9fb69abaa9768f1c84e9d203ebac
2   lib,
3   buildPythonPackage,
4   django,
5   fetchFromGitHub,
6   flit-core,
7   psycopg2,
8   pydantic,
9   pytest-asyncio,
10   pytest-django,
11   pytestCheckHook,
12   pythonOlder,
15 buildPythonPackage rec {
16   pname = "django-ninja";
17   version = "1.3.0";
18   pyproject = true;
20   disabled = pythonOlder "3.7";
22   src = fetchFromGitHub {
23     owner = "vitalik";
24     repo = "django-ninja";
25     rev = "refs/tags/v${version}";
26     hash = "sha256-fPlw9iTt1V8VXd0d5hw1i9LT96BcDkAlpBu9SPPd+hI=";
27   };
29   propagatedBuildInputs = [
30     django
31     pydantic
32   ];
34   nativeBuildInputs = [ flit-core ];
36   nativeCheckInputs = [
37     psycopg2
38     pytest-asyncio
39     pytest-django
40     pytestCheckHook
41   ];
43   meta = with lib; {
44     changelog = "https://github.com/vitalik/django-ninja/releases/tag/v${version}";
45     description = "Web framework for building APIs with Django and Python type hints";
46     homepage = "https://django-ninja.dev";
47     license = licenses.mit;
48     maintainers = with maintainers; [ elohmeier ];
49   };