Files
nixpkgs/pkgs/development/python-modules/junitparser/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

35 lines
715 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, future
, glibcLocales
, lxml
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "junitparser";
version = "2.8.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "weiwei";
repo = pname;
rev = version;
hash = "sha256-rhDP05GSWT4K6Z2ip8C9+e3WbvBJOwP0vctvANBs7cw=";
};
propagatedBuildInputs = [ future ];
nativeCheckInputs = [ unittestCheckHook lxml glibcLocales ];
unittestFlagsArray = [ "-v" ];
meta = with lib; {
description = "Manipulates JUnit/xUnit Result XML files";
license = licenses.asl20;
homepage = "https://github.com/weiwei/junitparser";
maintainers = with maintainers; [ multun ];
};
}