diff options
author | Nicolas Goudry <goudry.nicolas@gmail.com> | 2024-02-19 18:27:01 +0100 |
---|---|---|
committer | Nicolas Goudry <goudry.nicolas@gmail.com> | 2024-02-22 22:32:35 +0100 |
commit | 776441686194acbd5c064838b6676b5f8082416e (patch) | |
tree | 2f83037cae5b11882424c6ec1bf041e49c1e82ed | |
parent | f8f6450852963e2030f99f18d617b4376d279805 (diff) |
osc-cli: init at 1.11.0
-rw-r--r-- | pkgs/by-name/os/osc-cli/package.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/by-name/os/osc-cli/package.nix b/pkgs/by-name/os/osc-cli/package.nix new file mode 100644 index 0000000000000..fc9db543b1581 --- /dev/null +++ b/pkgs/by-name/os/osc-cli/package.nix @@ -0,0 +1,41 @@ +{ + lib + , python3 + , fetchFromGitHub +}: + +python3.pkgs.buildPythonApplication rec { + pname = "osc-cli"; + version = "1.11.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "outscale"; + repo = "osc-cli"; + rev = "v${version}"; + hash = "sha256-7WXy+1NHwFvYmyi5xGfWpq/mbVGJ3WkgP5WQd5pvcC0="; + }; + + nativeBuildInputs = [ + python3.pkgs.setuptools + ]; + + propagatedBuildInputs = with python3.pkgs; [ + defusedxml + fire + requests + typing-extensions + xmltodict + ]; + + # Skipping tests as they require working access and secret keys + doCheck = false; + + meta = with lib; { + description = "Official Outscale CLI providing connectors to Outscale API"; + homepage = "https://github.com/outscale/osc-cli"; + license = licenses.bsd3; + maintainers = with maintainers; [ nicolas-goudry ]; + mainProgram = "osc-cli"; + }; +} |