mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 18:23:44 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
34 lines
690 B
Nix
34 lines
690 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, future
|
|
, glibcLocales
|
|
, lxml
|
|
, unittestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "junitparser";
|
|
version = "2.8.0";
|
|
|
|
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 ];
|
|
};
|
|
}
|