pythonPackages.docplex: init at 2.12.182
The IBM Decision Optimization CPLEX Modeling for Python. Dependency of qiskit-aqua.
This commit is contained in:
parent
b5089eb3c2
commit
ee65cd9c40
34
pkgs/development/python-modules/docplex/default.nix
Normal file
34
pkgs/development/python-modules/docplex/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, futures
|
||||
, docloud
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "docplex";
|
||||
version = "2.12.182";
|
||||
|
||||
# No source available from official repo
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "aaf150b06d44f07639aca48be1fca69c7732d57507e6adc4e8451c7a93489116";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
docloud
|
||||
requests
|
||||
] ++ lib.optional isPy27 futures;
|
||||
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "docplex" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "IBM Decision Optimization CPLEX Modeling for Python";
|
||||
homepage = "https://onboarding-oaas.docloud.ibmcloud.com/software/analytics/docloud/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ drewrisinger ];
|
||||
};
|
||||
}
|
@ -2548,6 +2548,8 @@ in {
|
||||
|
||||
docloud = callPackage ../development/python-modules/docloud { };
|
||||
|
||||
docplex = callPackage ../development/python-modules/docplex { };
|
||||
|
||||
docopt = callPackage ../development/python-modules/docopt { };
|
||||
|
||||
doctest-ignore-unicode = callPackage ../development/python-modules/doctest-ignore-unicode { };
|
||||
|
Loading…
Reference in New Issue
Block a user