Merge pull request #14684 from edugomez/pytest_django

pytestdjango: init at 2.9.1
This commit is contained in:
zimbatm 2016-05-09 10:28:41 +01:00
commit 02904055ec

View file

@ -4254,6 +4254,28 @@ in modules // {
description = "pytest plugin with mechanisms for caching across test runs";
};
};
pytestdjango = buildPythonPackage rec {
name = "pytest-django-${version}";
version = "2.9.1";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pytest-django/${name}.tar.gz";
sha256 = "1mmc7zsz3dlhs6sx4sppkj1vgshabi362r1a8b8wpj1qfximpqcb";
};
# doing this to allow depending packages to find
# pytest's binaries
pytest = self.pytest;
propagatedBuildInputs = with self; [ django pytest setuptools_scm_18 ];
meta = {
description = "py.test plugin for testing of Django applications";
homepage = http://pytest-django.readthedocs.org/en/latest/;
license = licenses.bsd3;
};
};
pytestflakes = buildPythonPackage rec {
name = "pytest-flakes-${version}";
@ -19853,6 +19875,19 @@ in modules // {
};
};
setuptools_scm_18 = self.setuptools_scm.override rec {
name = "setuptools_scm-${version}";
version = "1.8.0";
# tests fail: ImportError: cannot import name 'find_files'
disabled = isPy35;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/s/setuptools_scm/${name}.tar.bz2";
sha256 = "00p60v2yfqy1r58pjcx9wy6dvqd7wkpfs5z1dzwf7y75c1g3dgyx";
};
};
setuptoolsDarcs = buildPythonPackage rec {
name = "setuptools_darcs-${version}";
version = "1.2.11";