Skip to content

Commit 1182f0c

Browse files
committed
python3Packages.test-results-parser: init at 0.5.1
1 parent ca2d99b commit 1182f0c

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
buildPythonPackage,
3+
fetchPypi,
4+
lib,
5+
pytestCheckHook,
6+
rustPlatform,
7+
}:
8+
9+
buildPythonPackage rec {
10+
pname = "test-results-parser";
11+
version = "0.5.1";
12+
pyproject = true;
13+
14+
src = fetchPypi {
15+
inherit version;
16+
pname = "test_results_parser";
17+
hash = "sha256-DaUSTu4Hg9SbJwBd3PlMcIAm/o63Q1yM5E7dVxbOwM8=";
18+
};
19+
20+
cargoDeps = rustPlatform.fetchCargoTarball {
21+
inherit pname version src;
22+
hash = "sha256-dhreAWm/Hses/N3XocYX7IZru9nYJqDrmTnJPkKaOwY=";
23+
};
24+
25+
nativeBuildInputs = with rustPlatform; [
26+
cargoSetupHook
27+
maturinBuildHook
28+
];
29+
30+
pythonImpotsCheck = [
31+
"test_results_parser"
32+
];
33+
34+
nativeCheckInputs = [
35+
pytestCheckHook
36+
];
37+
38+
meta = {
39+
description = "Codecov test results parser";
40+
homepage = "https://github.com/codecov/test-results-parser";
41+
license = lib.licenses.fsl11Asl20;
42+
maintainers = with lib.maintainers; [ veehaitch ];
43+
};
44+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15767,6 +15767,8 @@ self: super: with self; {
1576715767

1576815768
tesserocr = callPackage ../development/python-modules/tesserocr { };
1576915769

15770+
test-results-parser = callPackage ../development/python-modules/test-results-parser { };
15771+
1577015772
testcontainers = callPackage ../development/python-modules/testcontainers { };
1577115773

1577215774
testfixtures = callPackage ../development/python-modules/testfixtures { };

0 commit comments

Comments
 (0)