depot/third_party/nixpkgs/pkgs/development/python-modules/javaobj-py3/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

31 lines
657 B
Nix

{ buildPythonPackage
, fetchPypi
, isPy27
, lib
, numpy
}:
buildPythonPackage rec {
pname = "javaobj-py3";
version = "0.4.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-7Tsf/P058WVynLU1h8ygKrC/pMMyyDepLV/+au9cgBA=";
};
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 ];
};
}