about summary refs log tree commit diff
path: root/pkgs/development/python-modules/javaobj-py3/default.nix
blob: fecd77a50300c3460d0271b7804cefacd649cd54 (plain) (blame)
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
{
  buildPythonPackage,
  fetchPypi,
  isPy27,
  lib,
  numpy,
}:

buildPythonPackage rec {
  pname = "javaobj-py3";
  version = "0.4.4";
  format = "setuptools";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-5OMlfvLPgaMzl4ek1c+STlTJHwlacj9tJYTa5h1Dlu0=";
  };

  propagatedBuildInputs = [ numpy ];

  # Tests assume network connectivity
  doCheck = false;

  pythonImportsCheck = [ "javaobj" ];

  meta = with lib; {
    description = "Module for serializing and de-serializing Java objects";
    homepage = "https://github.com/tcalmant/python-javaobj";
    license = licenses.asl20;
    maintainers = with maintainers; [ kamadorueda ];
  };
}