about summary refs log tree commit diff
path: root/pkgs/development/python-modules/unittest-xml-reporting/default.nix
blob: 34ff3a30b787a564307fa03f5ed5ef18bfc67ea4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{lib, fetchPypi, buildPythonPackage, six}:

buildPythonPackage rec {
  name = "${pname}-${version}";
  pname = "unittest-xml-reporting";
  version = "2.2.0";

  propagatedBuildInputs = [six];

  # The tarball from Pypi doesn't actually contain the unit tests
  doCheck = false;

  src = fetchPypi {
    inherit pname version;
    sha256 = "3ba27af788bddb4403ee72561bfd3df2deb27a926a5426aa9beeb354c59b9c44";
  };
  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 ];
  };
}