Files
nixpkgs/pkgs/development/python-modules/pytest-django/default.nix
T

33 lines
750 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, django
, setuptools_scm
, django-configurations
, pytest_xdist
, six
2017-01-21 21:50:13 +01:00
}:
buildPythonPackage rec {
2017-05-27 11:25:35 +02:00
pname = "pytest-django";
version = "4.1.0";
2017-01-21 21:50:13 +01:00
2017-09-01 08:55:19 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "26f02c16d36fd4c8672390deebe3413678d89f30720c16efb8b2a6bf63b9041f";
2017-01-21 21:50:13 +01:00
};
2019-01-05 11:54:27 +01:00
nativeBuildInputs = [ pytest setuptools_scm ];
checkInputs = [ pytest django-configurations pytest_xdist six ];
2017-01-21 21:50:13 +01:00
propagatedBuildInputs = [ django ];
# Complicated. Requires Django setup.
doCheck = false;
2017-01-21 21:50:13 +01:00
meta = with stdenv.lib; {
description = "py.test plugin for testing of Django applications";
homepage = "https://pytest-django.readthedocs.org/en/latest/";
2017-01-21 21:50:13 +01:00
license = licenses.bsd3;
};
}