nixpkgs/pkgs/tools/security/faraday-cli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
1016 B
Nix
Raw Normal View History

2021-09-22 13:12:23 +00:00
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "faraday-cli";
2022-12-18 15:32:34 +00:00
version = "2.1.9";
2022-06-11 19:25:46 +00:00
format = "setuptools";
2021-09-22 13:12:23 +00:00
src = fetchFromGitHub {
owner = "infobyte";
repo = pname;
2022-07-27 02:19:40 +00:00
rev = "refs/tags/${version}";
2022-12-18 15:32:34 +00:00
hash = "sha256-8D1oYYqf0R41DPYtorcvykZ99p6P6Diwe7PgEN378pU=";
2021-09-22 13:12:23 +00:00
};
propagatedBuildInputs = with python3.pkgs; [
2022-02-03 22:26:15 +00:00
arrow
2021-09-22 13:12:23 +00:00
click
2022-02-03 22:26:15 +00:00
cmd2
2021-09-22 13:12:23 +00:00
colorama
faraday-plugins
jsonschema
2022-02-03 22:26:15 +00:00
log-symbols
2022-06-11 19:25:46 +00:00
luddite
2022-02-03 22:26:15 +00:00
packaging
2021-09-22 13:12:23 +00:00
pyyaml
2022-06-11 19:25:46 +00:00
py-sneakers
2021-09-22 13:12:23 +00:00
simple-rest-client
spinners
2022-02-03 22:26:15 +00:00
tabulate
2021-09-22 13:12:23 +00:00
termcolor
2022-02-03 22:26:15 +00:00
validators
2021-09-22 13:12:23 +00:00
];
# Tests requires credentials
doCheck = false;
2022-02-03 22:26:15 +00:00
pythonImportsCheck = [
"faraday_cli"
];
2021-09-22 13:12:23 +00:00
meta = with lib; {
description = "Command Line Interface for Faraday";
homepage = "https://github.com/infobyte/faraday-cli";
2022-11-25 10:29:35 +00:00
changelog = "https://github.com/infobyte/faraday-cli/releases/tag/${version}";
2021-09-22 13:12:23 +00:00
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}