at 24.05-pre 51 lines 1.0 kB view raw
1{ lib 2, fetchFromGitHub 3, python3 4}: 5 6python3.pkgs.buildPythonApplication rec { 7 pname = "faraday-cli"; 8 version = "2.1.9"; 9 format = "setuptools"; 10 11 src = fetchFromGitHub { 12 owner = "infobyte"; 13 repo = pname; 14 rev = "refs/tags/${version}"; 15 hash = "sha256-8D1oYYqf0R41DPYtorcvykZ99p6P6Diwe7PgEN378pU="; 16 }; 17 18 propagatedBuildInputs = with python3.pkgs; [ 19 arrow 20 click 21 cmd2 22 colorama 23 faraday-plugins 24 jsonschema 25 log-symbols 26 luddite 27 packaging 28 pyyaml 29 py-sneakers 30 simple-rest-client 31 spinners 32 tabulate 33 termcolor 34 validators 35 ]; 36 37 # Tests requires credentials 38 doCheck = false; 39 40 pythonImportsCheck = [ 41 "faraday_cli" 42 ]; 43 44 meta = with lib; { 45 description = "Command Line Interface for Faraday"; 46 homepage = "https://github.com/infobyte/faraday-cli"; 47 changelog = "https://github.com/infobyte/faraday-cli/releases/tag/${version}"; 48 license = with licenses; [ gpl3Only ]; 49 maintainers = with maintainers; [ fab ]; 50 }; 51}