diff --git a/pkgs/development/python-modules/docloud/default.nix b/pkgs/development/python-modules/docloud/default.nix new file mode 100644 index 000000000000..f1ec269f7cbb --- /dev/null +++ b/pkgs/development/python-modules/docloud/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildPythonPackage +, fetchPypi +, requests +}: + +buildPythonPackage rec { + pname = "docloud"; + version = "1.0.375"; + + src = fetchPypi { + inherit pname version; + sha256 = "996d55407498fd01e6c6c480f367048f92255e9ca9db0e9ea19aaef91328a441"; + }; + + propagatedBuildInputs = [ + requests + ]; + + # Pypi's tarball doesn't contain tests. Source not available. + doCheck = false; + pythonImportsCheck = [ "docloud" ]; + + meta = with lib; { + description = "The IBM Decision Optimization on Cloud Python client"; + homepage = "https://onboarding-oaas.docloud.ibmcloud.com/software/analytics/docloud/"; + license = licenses.asl20; + maintainers = with maintainers; [ drewrisinger ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 927bfa285ba3..ca130a8df05e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2544,6 +2544,8 @@ in { docker_pycreds = callPackage ../development/python-modules/docker-pycreds {}; + docloud = callPackage ../development/python-modules/docloud { }; + docopt = callPackage ../development/python-modules/docopt { }; doctest-ignore-unicode = callPackage ../development/python-modules/doctest-ignore-unicode { };