1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

pythonPackages.docloud: init at 1.0.375

The IBM Decision Optimization on Cloud Python client.

Requirement of docplex, which is a dependency of qiskit-aqua.
This commit is contained in:
Drew Risinger 2020-01-21 13:20:26 -05:00 committed by Jon
parent d6e1193d39
commit f0d53bd6f9
2 changed files with 32 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -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 { };