about summary refs log tree commit diff
path: root/pkgs/development/python-modules/unittest-xml-reporting/default.nix
diff options
context:
space:
mode:
authorMatthew Justin Bauer <mjbauer95@gmail.com>2018-04-09 14:07:40 -0500
committerGitHub <noreply@github.com>2018-04-09 14:07:40 -0500
commit6a74718e00672c8c8377a97e0052cc635b65dfab (patch)
treeb5e91b4e3546077401cdb40fb8f16f91165c9570 /pkgs/development/python-modules/unittest-xml-reporting/default.nix
parenta7341d70ef3ba6ff06ef28f72ace76240cf1171a (diff)
parent392def733b61855e667c7ce7a777a6bdc397ef44 (diff)
downloadnixlib-6a74718e00672c8c8377a97e0052cc635b65dfab.tar
nixlib-6a74718e00672c8c8377a97e0052cc635b65dfab.tar.gz
nixlib-6a74718e00672c8c8377a97e0052cc635b65dfab.tar.bz2
nixlib-6a74718e00672c8c8377a97e0052cc635b65dfab.tar.lz
nixlib-6a74718e00672c8c8377a97e0052cc635b65dfab.tar.xz
nixlib-6a74718e00672c8c8377a97e0052cc635b65dfab.tar.zst
nixlib-6a74718e00672c8c8377a97e0052cc635b65dfab.zip
Merge pull request #36852 from rprospero/sasview-for-pr
sasview: init at 4.1.2
Diffstat (limited to 'pkgs/development/python-modules/unittest-xml-reporting/default.nix')
-rw-r--r--pkgs/development/python-modules/unittest-xml-reporting/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/unittest-xml-reporting/default.nix b/pkgs/development/python-modules/unittest-xml-reporting/default.nix
new file mode 100644
index 000000000000..129ad0ded6c7
--- /dev/null
+++ b/pkgs/development/python-modules/unittest-xml-reporting/default.nix
@@ -0,0 +1,23 @@
+{lib, fetchPypi, buildPythonPackage, six}:
+
+buildPythonPackage rec {
+  name = "${pname}-${version}";
+  pname = "unittest-xml-reporting";
+  version = "2.1.1";
+
+  propagatedBuildInputs = [six];
+
+  # The tarball from Pypi doesn't actually contain the unit tests
+  doCheck = false;
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1jwkqx5gfphkymp3xwqvlb94ng22gpbqh36vbbnsrpk1a0mammm6";
+  };
+  meta = with lib; {
+    homepage = https://github.com/xmlrunner/unittest-xml-reporting/tree/master/;
+    description = "A unittest runner that can save test results to XML files";
+    license = lib.licenses.bsd2;
+    maintainers = with lib.maintainers; [ rprospero ];
+  };
+}