faraday-cli: refactor

This commit is contained in:
Fabian Affolter 2025-01-11 09:41:53 +01:00 committed by GitHub
parent 2ae0dd8308
commit 4c7d08cffb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,11 +16,9 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-TZABx76ap4mzZ99Xd8chkwBsGmT9qJWAeMaubUwGiRw=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools
];
build-system = with python3.pkgs; [ setuptools ];
propagatedBuildInputs = with python3.pkgs; [
dependencies = with python3.pkgs; [
arrow
click
cmd2
@ -42,16 +40,14 @@ python3.pkgs.buildPythonApplication rec {
# Tests requires credentials
doCheck = false;
pythonImportsCheck = [
"faraday_cli"
];
pythonImportsCheck = [ "faraday_cli" ];
meta = with lib; {
description = "Command Line Interface for Faraday";
mainProgram = "faraday-cli";
homepage = "https://github.com/infobyte/faraday-cli";
changelog = "https://github.com/infobyte/faraday-cli/releases/tag/${version}";
license = with licenses; [ gpl3Only ];
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
mainProgram = "faraday-cli";
};
}