depot/third_party/nixpkgs/pkgs/development/python-modules/javaobj-py3/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

33 lines
687 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;
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 ];
};
}