Skip to content

Commit 0592f28

Browse files
codecov-cli: init at 9.1.1 (#358490)
2 parents c62feaf + d377d2b commit 0592f28

File tree

3 files changed

+90
-0
lines changed

3 files changed

+90
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
fetchPypi,
3+
lib,
4+
python3Packages,
5+
}:
6+
7+
python3Packages.buildPythonApplication rec {
8+
pname = "codecov-cli";
9+
version = "9.1.1";
10+
pyproject = true;
11+
12+
src = fetchPypi {
13+
inherit pname version;
14+
hash = "sha256-jaljYA2x2nZUOn9vy/CdtxfGjQKHtrtY13WmBdsICTA=";
15+
};
16+
17+
build-system = with python3Packages; [
18+
setuptools
19+
];
20+
21+
pythonRelaxDeps = [
22+
"httpx"
23+
"responses"
24+
"tree-sitter"
25+
];
26+
27+
dependencies = with python3Packages; [
28+
click
29+
httpx
30+
ijson
31+
pyyaml
32+
regex
33+
responses
34+
test-results-parser
35+
tree-sitter
36+
];
37+
38+
meta = {
39+
description = "Codecov Command Line Interface";
40+
homepage = "https://github.com/codecov/codecov-cli";
41+
license = lib.licenses.asl20;
42+
maintainers = with lib.maintainers; [ veehaitch ];
43+
};
44+
}
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
@@ -15875,6 +15875,8 @@ self: super: with self; {
1587515875

1587615876
tesserocr = callPackage ../development/python-modules/tesserocr { };
1587715877

15878+
test-results-parser = callPackage ../development/python-modules/test-results-parser { };
15879+
1587815880
testcontainers = callPackage ../development/python-modules/testcontainers { };
1587915881

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

0 commit comments

Comments
 (0)