Files
nixpkgs/pkgs/development/python-modules/javaobj-py3/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

34 lines
685 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 = {
description = "Module for serializing and de-serializing Java objects";
homepage = "https://github.com/tcalmant/python-javaobj";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ kamadorueda ];
};
}