Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pytest-django / default.nix
blobbfcda812529e27de3e534fba396cd109d9be9d0b
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytest
5 , django
6 , setuptools_scm
7 , django-configurations
8 , pytest_xdist
9 , six
11 buildPythonPackage rec {
12   pname = "pytest-django";
13   version = "4.1.0";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "26f02c16d36fd4c8672390deebe3413678d89f30720c16efb8b2a6bf63b9041f";
18   };
20   nativeBuildInputs = [ pytest setuptools_scm ];
21   checkInputs = [ pytest django-configurations pytest_xdist six ];
22   propagatedBuildInputs = [ django ];
24   # Complicated. Requires Django setup.
25   doCheck = false;
27   meta = with lib; {
28     description = "py.test plugin for testing of Django applications";
29     homepage = "https://pytest-django.readthedocs.org/en/latest/";
30     license = licenses.bsd3;
31   };