Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 177894ce59f6
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4a739220a298
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 10, 2020

  1. pythonPackages.junit-xml: init at 1.8

    multun authored and Jon committed Jan 10, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    fpletz Franz Pletz
    Copy the full SHA
    4a73922 View commit details
Showing with 34 additions and 0 deletions.
  1. +32 −0 pkgs/development/python-modules/junit-xml/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
32 changes: 32 additions & 0 deletions pkgs/development/python-modules/junit-xml/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
, pytest
, pytest-sugar
}:

buildPythonPackage rec {
pname = "junit-xml";
version = "1.8";

src = fetchPypi {
inherit pname version;
sha256 = "08fw86azza6d3l3nx34kq69cpwmmfqpn7xrb8pdlxmhr1941qbv0";
};

propagatedBuildInputs = [ six ];

checkInputs = [ pytest pytest-sugar ];

checkPhase = ''
pytest
'';

meta = with lib; {
description = "Creates JUnit XML test result documents that can be read by tools such as Jenkins";
homepage = https://github.com/kyrus/python-junit-xml;
maintainers = with maintainers; [ multun ];
license = licenses.mit;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -779,6 +779,8 @@ in {

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

junit-xml = callPackage ../development/python-modules/junit-xml { };

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

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