Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 30 lines 704 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5}: 6 7buildPythonPackage rec { 8 pname = "docloud"; 9 version = "1.0.375"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "996d55407498fd01e6c6c480f367048f92255e9ca9db0e9ea19aaef91328a441"; 14 }; 15 16 propagatedBuildInputs = [ 17 requests 18 ]; 19 20 # Pypi's tarball doesn't contain tests. Source not available. 21 doCheck = false; 22 pythonImportsCheck = [ "docloud" ]; 23 24 meta = with lib; { 25 description = "The IBM Decision Optimization on Cloud Python client"; 26 homepage = "https://onboarding-oaas.docloud.ibmcloud.com/software/analytics/docloud/"; 27 license = licenses.asl20; 28 maintainers = with maintainers; [ drewrisinger ]; 29 }; 30}