1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 04:48:10 +00:00
nixpkgs/pkgs/development/python-modules/pytestdjango.nix
Frederik Rietdijk 645c2189d1 pythonPackages.pytest-django: unpin setuptools_scm
- unpin setuptools_scm
- move to file in folder following guidelines
- use PyPI/upstream name
2017-03-16 12:40:43 +01:00

22 lines
592 B
Nix

{ stdenv, buildPythonPackage, fetchurl
, pytest, django, setuptools_scm
}:
buildPythonPackage rec {
name = "pytest-django-${version}";
version = "3.1.2";
src = fetchurl {
url = "mirror://pypi/p/pytest-django/${name}.tar.gz";
sha256 = "02932m2sr8x22m4az8syr8g835g4ak77varrnw71n6xakmdcr303";
};
buildInputs = [ pytest setuptools_scm ];
propagatedBuildInputs = [ django ];
meta = with stdenv.lib; {
description = "py.test plugin for testing of Django applications";
homepage = http://pytest-django.readthedocs.org/en/latest/;
license = licenses.bsd3;
};
}