Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
952 B · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchPypi, isPy27, setuptools, futures ? null, docloud, requests,}:
buildPythonPackage rec { pname = "docplex"; version = "2.29.245"; pyproject = true;
# No source available from official repo src = fetchPypi { inherit pname version; hash = "sha256-pCb+P6WQUPX+dzFfe6Hcfao1fH2NDtBmpYNWRx2FPko="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools~=68.2.2" "setuptools>=68.2.2" '';
build-system = [ setuptools ];
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 ]; };}