2020-01-21 18:20:26 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
2021-04-02 10:14:00 +01:00
|
|
|
, six
|
2020-01-21 18:20:26 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "docloud";
|
|
|
|
version = "1.0.375";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "996d55407498fd01e6c6c480f367048f92255e9ca9db0e9ea19aaef91328a441";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
2021-04-02 10:14:00 +01:00
|
|
|
six
|
2020-01-21 18:20:26 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|