11 buildPythonPackage rec {
12 pname = "osc-sdk-python";
16 src = fetchFromGitHub {
18 repo = "osc-sdk-python";
19 rev = "refs/tags/v${version}";
20 hash = "sha256-HOYIt4kLKAR8zYmIhjLQoibL3qp9uruFKgkgfnmZOfc=";
21 fetchSubmodules = true;
24 nativeBuildInputs = [ setuptools ];
26 propagatedBuildInputs = [
31 nativeCheckInputs = [ pytestCheckHook ];
34 substituteInPlace setup.py \
35 --replace "ruamel.yaml==0.17.32" "ruamel.yaml"
38 # Only keep test not requiring access and secret keys
39 pytestFlagsArray = [ "tests/test_net.py" ];
41 pythonImportsCheck = [ "osc_sdk_python" ];
44 description = "SDK to perform actions on Outscale API";
45 homepage = "http://github.com/outscale/osc-sdk-python";
46 license = licenses.bsd3;
47 maintainers = with maintainers; [ nicolas-goudry ];