mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
46 lines
896 B
Nix
46 lines
896 B
Nix
{
|
|
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=";
|
|
};
|
|
|
|
build-system = [
|
|
python3.pkgs.setuptools
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"defusedxml"
|
|
];
|
|
|
|
dependencies = 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";
|
|
};
|
|
}
|