nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildPythonPackage,
3 fetchPypi,
4 lib,
5}:
6
7buildPythonPackage rec {
8 pname = "py4j";
9
10 version = "0.10.9.9";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-9pTK0Z76W9He5PPlJw60BmE8l0OUA15b/E7Bq6hwuHk=";
16 };
17
18 # No tests in archive
19 doCheck = false;
20
21 meta = {
22 description = "Py4J enables Python programs running in a Python interpreter to dynamically access Java objects in a Java Virtual Machine. Methods are called as if the Java objects resided in the Python interpreter and Java collections can be accessed through standard Python collection methods. Py4J also enables Java programs to call back Python objects";
23 homepage = "https://www.py4j.org/";
24 sourceProvenance = with lib.sourceTypes; [
25 fromSource
26 binaryBytecode
27 ];
28 license = lib.licenses.bsd3;
29 maintainers = [ lib.maintainers.shlevy ];
30 };
31}