Files
nixpkgs/pkgs/development/python-modules/docloud/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

35 lines
709 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
requests,
six,
}:
buildPythonPackage rec {
pname = "docloud";
version = "1.0.375";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "996d55407498fd01e6c6c480f367048f92255e9ca9db0e9ea19aaef91328a441";
};
propagatedBuildInputs = [
requests
six
];
# Pypi's tarball doesn't contain tests. Source not available.
doCheck = false;
pythonImportsCheck = [ "docloud" ];
meta = {
description = "IBM Decision Optimization on Cloud Python client";
homepage = "https://onboarding-oaas.docloud.ibmcloud.com/software/analytics/docloud/";
license = lib.licenses.asl20;
maintainers = [ ];
};
}