diff options
Diffstat (limited to 'pkgs/ibm-platform-services')
| -rw-r--r-- | pkgs/ibm-platform-services/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/ibm-platform-services/default.nix b/pkgs/ibm-platform-services/default.nix new file mode 100644 index 0000000..60d7736 --- /dev/null +++ b/pkgs/ibm-platform-services/default.nix @@ -0,0 +1,45 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pybind11, + scikit-build, + ibm-cloud-sdk-core, +}: +buildPythonPackage rec { + pname = "ibm-platform-services"; + version = "0.72.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "IBM"; + repo = "platform-services-python-sdk"; + tag = "v${version}"; + hash = "sha256-QxoyRH82Q7bxBK26XwS4oE7mJG2qh8/cpByKcS6rmQc="; + }; + + dontUseCmakeConfigure = true; + + nativeBuildInputs = [ + #cmake + #ninja + ]; + + build-system = [ + pybind11 + scikit-build + ]; + + dependencies = [ + ibm-cloud-sdk-core + ]; + + doCheck = false; + + meta = { + description = "Python client library for IBM Cloud Platform Services"; + homepage = "https://github.com/IBM/platform-services-python-sdk"; + license = lib.licenses.asl20; + maintainers = []; + }; +} |