about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-html
diff options
context:
space:
mode:
authorMillian Poquet <millian.poquet@inria.fr>2020-03-12 11:26:25 +0100
committerJon <jonringer@users.noreply.github.com>2020-03-24 12:24:49 -0700
commit487bb6c32c922c7955bb0df8dc4107f3bc2489ab (patch)
tree5611949719c5e60c8f43abd8eb3e68deb55ea102 /pkgs/development/python-modules/pytest-html
parentebed789ad4c7c0febcefed767b27b52e0a06d714 (diff)
downloadnixlib-487bb6c32c922c7955bb0df8dc4107f3bc2489ab.tar
nixlib-487bb6c32c922c7955bb0df8dc4107f3bc2489ab.tar.gz
nixlib-487bb6c32c922c7955bb0df8dc4107f3bc2489ab.tar.bz2
nixlib-487bb6c32c922c7955bb0df8dc4107f3bc2489ab.tar.lz
nixlib-487bb6c32c922c7955bb0df8dc4107f3bc2489ab.tar.xz
nixlib-487bb6c32c922c7955bb0df8dc4107f3bc2489ab.tar.zst
nixlib-487bb6c32c922c7955bb0df8dc4107f3bc2489ab.zip
python3Packages.pytest-html: init at 2.1.0
Diffstat (limited to 'pkgs/development/python-modules/pytest-html')
-rw-r--r--pkgs/development/python-modules/pytest-html/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-html/default.nix b/pkgs/development/python-modules/pytest-html/default.nix
new file mode 100644
index 000000000000..6847c5e05d4e
--- /dev/null
+++ b/pkgs/development/python-modules/pytest-html/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
+, pytest, pytest-metadata, setuptools_scm }:
+
+buildPythonPackage rec {
+  pname = "pytest-html";
+  version = "2.1.0";
+  disabled = pythonOlder "3.6";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "14cy5iixi6i8i5r5xvvkhwk48zgxnb1ypbp0g1343mwfdihshic6";
+  };
+
+  nativeBuildInputs = [ setuptools_scm ];
+  propagatedBuildInputs = [ pytest pytest-metadata ];
+
+  meta = with stdenv.lib; {
+    description = "Plugin for generating HTML reports";
+    homepage = "https://github.com/pytest-dev/pytest-html";
+    license = licenses.mpl20;
+    maintainers = with maintainers; [ mpoquet ];
+  };
+}