Files
nixpkgs/pkgs/development/python-modules/javaobj-py3/default.nix
T

32 lines
657 B
Nix
Raw Normal View History

2019-12-28 04:01:45 -05:00
{ buildPythonPackage
, fetchPypi
2020-08-14 17:34:09 -07:00
, isPy27
2019-12-28 04:01:45 -05:00
, lib
2021-02-03 17:12:46 +01:00
, numpy
2019-12-28 04:01:45 -05:00
}:
buildPythonPackage rec {
pname = "javaobj-py3";
2021-02-03 17:12:46 +01:00
version = "0.4.2";
2020-08-14 17:34:09 -07:00
disabled = isPy27;
2019-12-28 04:01:45 -05:00
src = fetchPypi {
inherit pname version;
2021-02-03 17:12:46 +01:00
sha256 = "sha256-7Tsf/P058WVynLU1h8ygKrC/pMMyyDepLV/+au9cgBA=";
2019-12-28 04:01:45 -05:00
};
2021-02-03 17:12:46 +01:00
propagatedBuildInputs = [ numpy ];
2019-12-28 04:01:45 -05:00
# Tests assume network connectivity
doCheck = false;
2021-02-03 17:12:46 +01:00
pythonImportsCheck = [ "javaobj" ];
meta = with lib; {
2019-12-28 04:01:45 -05:00
description = "Module for serializing and de-serializing Java objects";
homepage = "https://github.com/tcalmant/python-javaobj";
2021-02-03 17:12:46 +01:00
license = licenses.asl20;
maintainers = with maintainers; [ kamadorueda ];
2019-12-28 04:01:45 -05:00
};
}