summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2017-01-21 21:50:13 +0100
committerLancelot SIX <lsix@lancelotsix.com>2017-01-24 22:13:07 +0100
commit93d0e4ab5b790207842d7bba03d5bc3383c55edf (patch)
treef0f113fa9a9b523fe34b4541644742059cf0c059 /pkgs/development
parent034d39b2447b251e9613decb6e987efd794a1c15 (diff)
downloadnixpkgs-93d0e4ab5b790207842d7bba03d5bc3383c55edf.tar
nixpkgs-93d0e4ab5b790207842d7bba03d5bc3383c55edf.tar.gz
nixpkgs-93d0e4ab5b790207842d7bba03d5bc3383c55edf.tar.bz2
nixpkgs-93d0e4ab5b790207842d7bba03d5bc3383c55edf.tar.lz
nixpkgs-93d0e4ab5b790207842d7bba03d5bc3383c55edf.tar.xz
nixpkgs-93d0e4ab5b790207842d7bba03d5bc3383c55edf.tar.zst
nixpkgs-93d0e4ab5b790207842d7bba03d5bc3383c55edf.zip
pythonPackages.pytestdjango: 2.9.1 -> 3.1.2
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/pytestdjango.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytestdjango.nix b/pkgs/development/python-modules/pytestdjango.nix
new file mode 100644
index 00000000000..5a8dd85f4bd
--- /dev/null
+++ b/pkgs/development/python-modules/pytestdjango.nix
@@ -0,0 +1,21 @@
+{ 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;
+  };
+}