summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/zeroc-ice/default.nix
blob: f95f770d5652c50282e04f3d0166e35be34797c1 (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
{
  lib,
  buildPythonPackage,
  pythonAtLeast,
  fetchPypi,
  setuptools,
  bzip2,
  openssl,
}:

buildPythonPackage rec {
  pname = "zeroc-ice";
  version = "3.7.10.1";
  pyproject = true;

  # Upstream PR: https://github.com/zeroc-ice/ice/pull/2910
  # But this hasn't been merged into the 3.7 branch, and the patch doesn't
  # apply cleanly.
  disabled = pythonAtLeast "3.13";

  src = fetchPypi {
    pname = "zeroc_ice";
    inherit version;
    hash = "sha256-sGOq/aNg33EfdpRVKbtUFXbyZr5B5dWi3Xf10yDBhmQ=";
  };

  build-system = [ setuptools ];

  buildInputs = [
    bzip2
    openssl
  ];

  pythonImportsCheck = [ "Ice" ];

  meta = {
    homepage = "https://zeroc.com/";
    license = lib.licenses.gpl2;
    description = "Comprehensive RPC framework with support for Python, C++, .NET, Java, JavaScript and more";
    mainProgram = "slice2py";
    maintainers = [ ];
  };
}