forked from mirrors/nixpkgs
faraday-cli: init at 2.0.2
This commit is contained in:
parent
787af49021
commit
60218ef0bc
2 changed files with 48 additions and 0 deletions
46
pkgs/tools/security/faraday-cli/default.nix
Normal file
46
pkgs/tools/security/faraday-cli/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, python3
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "faraday-cli";
|
||||||
|
version = "2.0.2";
|
||||||
|
|
||||||
|
disabled = python3.pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "infobyte";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1jq8sim0b6k830lv1qzbrd1mx0nc2x1jq24fbama76gzqlb2axi7";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
click
|
||||||
|
colorama
|
||||||
|
faraday-plugins
|
||||||
|
jsonschema
|
||||||
|
pyyaml
|
||||||
|
simple-rest-client
|
||||||
|
tabulate
|
||||||
|
validators
|
||||||
|
spinners
|
||||||
|
termcolor
|
||||||
|
cmd2
|
||||||
|
log-symbols
|
||||||
|
arrow
|
||||||
|
];
|
||||||
|
|
||||||
|
# Tests requires credentials
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "faraday_cli" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Command Line Interface for Faraday";
|
||||||
|
homepage = "https://github.com/infobyte/faraday-cli";
|
||||||
|
license = with licenses; [ gpl3Only ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -4980,6 +4980,8 @@ with pkgs;
|
||||||
|
|
||||||
fabric-installer = callPackage ../tools/games/minecraft/fabric-installer { };
|
fabric-installer = callPackage ../tools/games/minecraft/fabric-installer { };
|
||||||
|
|
||||||
|
faraday-cli = callPackage ../tools/security/faraday-cli { };
|
||||||
|
|
||||||
fastlane = callPackage ../tools/admin/fastlane { };
|
fastlane = callPackage ../tools/admin/fastlane { };
|
||||||
|
|
||||||
fatresize = callPackage ../tools/filesystems/fatresize {};
|
fatresize = callPackage ../tools/filesystems/fatresize {};
|
||||||
|
|
Loading…
Add table
Reference in a new issue