1{ lib
2, buildPythonPackage
3, fetchPypi
4, requests
5, six
6}:
7
8buildPythonPackage rec {
9 pname = "docloud";
10 version = "1.0.375";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "996d55407498fd01e6c6c480f367048f92255e9ca9db0e9ea19aaef91328a441";
15 };
16
17 propagatedBuildInputs = [
18 requests
19 six
20 ];
21
22 # Pypi's tarball doesn't contain tests. Source not available.
23 doCheck = false;
24 pythonImportsCheck = [ "docloud" ];
25
26 meta = with lib; {
27 description = "The IBM Decision Optimization on Cloud Python client";
28 homepage = "https://onboarding-oaas.docloud.ibmcloud.com/software/analytics/docloud/";
29 license = licenses.asl20;
30 maintainers = with maintainers; [ drewrisinger ];
31 };
32}