nixpkgs/pkgs/development/python-modules/junit-xml/default.nix
Ihar Hrachyshka 567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

33 lines
767 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
six,
pytestCheckHook,
}:
buildPythonPackage {
pname = "junit-xml";
version = "1.9";
format = "setuptools";
# Only a wheel on PyPI
src = fetchFromGitHub {
owner = "kyrus";
repo = "python-junit-xml";
# No tags...sigh
rev = "856414648cbab3f64e69b856bc25cea8b9aa0377";
sha256 = "1sg03mv7dk3x4mjxjg127vqjmx0ms7v3a5aibxrclxlhmdqcgvb2";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
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 lib.maintainers; [ multun ];
license = lib.licenses.mit;
};
}