mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
0d0f900fa7
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-pytest-django/versions
33 lines
722 B
Nix
33 lines
722 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, django
|
|
, setuptools_scm
|
|
, django-configurations
|
|
, pytest_xdist
|
|
, six
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "pytest-django";
|
|
version = "3.4.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "07zl2438gavrcykva6i2lpxmzgf90h4xlm3nqgd7wsqz2yh727zy";
|
|
};
|
|
|
|
buildInputs = [ pytest setuptools_scm ];
|
|
checkInputs = [ django-configurations pytest_xdist six ];
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
# Complicated. Requires Django setup.
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "py.test plugin for testing of Django applications";
|
|
homepage = http://pytest-django.readthedocs.org/en/latest/;
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|