Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
872 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchPypi, isPy27, packaging, pythonOlder, typing-extensions, pytest}:
buildPythonPackage rec { pname = "jpype1"; version = "1.5.0"; format = "setuptools"; disabled = isPy27;
src = fetchPypi { pname = "JPype1"; inherit version; hash = "sha256-QlpuGWav3VhItgwmiLyut+QLpQSmhvERRYlmjgYx6Hg="; };
propagatedBuildInputs = [ packaging ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
nativeCheckInputs = [ pytest ];
# required openjdk (easy) but then there were some class path issues # when running the tests doCheck = false;
meta = with lib; { homepage = "https://github.com/originell/jpype/"; sourceProvenance = with sourceTypes; [ fromSource binaryBytecode ]; license = licenses.asl20; description = "A Python to Java bridge"; };}