Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonPackages.xmlrunner: init at 1.7.7 #78695

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions pkgs/development/python-modules/xmlrunner/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ lib, buildPythonPackage, fetchPypi }:

buildPythonPackage rec {
pname = "xmlrunner";
version = "1.7.7";
Comment on lines +4 to +5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This package hasn't seen a release in 5 years.

Plus i think you get the same functionality if you do pytest --junit-xml=path

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me figure out if this package is actually needed in our environment, since I am generating Nix expressions for a large number of pip packages so that the Nix-based environment is equivalent (or better) than the existing one.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


src = fetchPypi {
inherit pname version;
sha256 = "5a6113d049eca7646111ee657266966e5bbfb0b5ceb2e83ee0772e16d7110f39";
};

# No test is implemented for this package
doCheck = false;

meta = with lib; {
description = "PyUnit-based test runner with JUnit like XML reporting";
homepage = "https://github.com/pycontribs/xmlrunner";
license = licenses.lgpl2;
maintainers = [ maintainers.arnoldfarkas ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5671,6 +5671,8 @@ in {

xml2rfc = callPackage ../development/python-modules/xml2rfc { };

xmlrunner = callPackage ../development/python-modules/xmlrunner { };

xmlschema = callPackage ../development/python-modules/xmlschema { };

xmltodict = callPackage ../development/python-modules/xmltodict { };
Expand Down