mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
f0d53bd6f9
The IBM Decision Optimization on Cloud Python client. Requirement of docplex, which is a dependency of qiskit-aqua.
31 lines
704 B
Nix
31 lines
704 B
Nix
{ 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 ];
|
|
};
|
|
}
|