depot/third_party/nixpkgs/pkgs/development/python-modules/docloud/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 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 ];
};
}