Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 python3, 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "faraday-cli"; 9 version = "2.1.12"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "infobyte"; 14 repo = "faraday-cli"; 15 tag = version; 16 hash = "sha256-TZABx76ap4mzZ99Xd8chkwBsGmT9qJWAeMaubUwGiRw="; 17 }; 18 19 build-system = with python3.pkgs; [ setuptools ]; 20 21 dependencies = with python3.pkgs; [ 22 arrow 23 click 24 cmd2 25 colorama 26 faraday-plugins 27 jsonschema 28 log-symbols 29 luddite 30 packaging 31 pyyaml 32 py-sneakers 33 simple-rest-client 34 spinners 35 tabulate 36 termcolor 37 validators 38 ]; 39 40 # Tests requires credentials 41 doCheck = false; 42 43 pythonImportsCheck = [ "faraday_cli" ]; 44 45 meta = { 46 description = "Command Line Interface for Faraday"; 47 homepage = "https://github.com/infobyte/faraday-cli"; 48 changelog = "https://github.com/infobyte/faraday-cli/releases/tag/${version}"; 49 license = lib.licenses.gpl3Only; 50 maintainers = with lib.maintainers; [ fab ]; 51 mainProgram = "faraday-cli"; 52 }; 53}