blob: 2f5c485cf631dda47f93a10695e30121754556f4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, futures ? null
, docloud
, requests
}:
buildPythonPackage rec {
pname = "docplex";
version = "2.25.236";
format = "setuptools";
# No source available from official repo
src = fetchPypi {
inherit pname version;
hash = "sha256-JWkUtMAROk4cePMuogx9dtyO/ihv6JAnDnXPrVD+UQ8=";
};
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 ];
};
}
|