fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
33 lines
689 B
Nix
33 lines
689 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
isPy27,
|
|
lib,
|
|
numpy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "javaobj-py3";
|
|
version = "0.4.4";
|
|
format = "setuptools";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "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 ];
|
|
};
|
|
}
|