aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/unittest-xml-reporting/default.nix
blob: c8d1edc421094fb6ee84ec64b916b8a3958ccdae (plain)
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, isPy27, six}:

buildPythonPackage rec {
  pname = "unittest-xml-reporting";
  version = "3.0.4";
  disabled = isPy27;

  propagatedBuildInputs = [six];

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

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