osc-cli: init at 1.11.0
This commit is contained in:
parent
f8f6450852
commit
7764416861
1 changed files with 41 additions and 0 deletions
41
pkgs/by-name/os/osc-cli/package.nix
Normal file
41
pkgs/by-name/os/osc-cli/package.nix
Normal file
|
@ -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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue