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