summaryrefslogtreecommitdiff
path: root/pkgs/ibm-platform-services/default.nix
blob: 60d77367e441ab31b445e8321f16a2f0f6204660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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 = [];
  };
}