Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 python3Packages, 4 fetchFromGitHub, 5}: 6 7python3Packages.buildPythonApplication rec { 8 pname = "codecov-cli"; 9 version = "10.4.0"; 10 pyproject = true; 11 12 src = 13 (fetchFromGitHub { 14 owner = "codecov"; 15 repo = "codecov-cli"; 16 tag = "v${version}"; 17 hash = "sha256-R1GFQ81N/e2OX01oSs8Xs+PM0JKVZofiUPADVdxCzWk="; 18 fetchSubmodules = true; 19 }).overrideAttrs 20 (_: { 21 GIT_CONFIG_COUNT = 1; 22 GIT_CONFIG_KEY_0 = "url.https://github.com/.insteadOf"; 23 GIT_CONFIG_VALUE_0 = "git@github.com:"; 24 }); 25 26 build-system = with python3Packages; [ setuptools ]; 27 28 pythonRelaxDeps = [ 29 "httpx" 30 "responses" 31 "tree-sitter" 32 ]; 33 34 dependencies = with python3Packages; [ 35 click 36 httpx 37 ijson 38 pyyaml 39 regex 40 responses 41 test-results-parser 42 tree-sitter 43 sentry-sdk 44 wrapt 45 ]; 46 47 meta = { 48 description = "Codecov Command Line Interface"; 49 homepage = "https://github.com/codecov/codecov-cli"; 50 license = lib.licenses.asl20; 51 maintainers = with lib.maintainers; [ veehaitch ]; 52 }; 53}