Unverified Commit 72aa4e97 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #232358 from r-ryantm/auto-update/python310Packages.pyjnius

python310Packages.pyjnius: 1.4.2 -> 1.5.0
parents 1dc5c10e d52c763b
Loading
Loading
Loading
Loading
+16 −10
Original line number Diff line number Diff line
{ buildPythonPackage
{ lib
, buildPythonPackage
, cython
, fetchPypi
, jdk
, lib
, six
, pythonOlder
}:

buildPythonPackage rec {
  pname = "pyjnius";
  version = "1.4.2";
  version = "1.5.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-/AY3zaSuEo7EqWrDJ9NS6H6oZnZLAdliZyhwvlOana4=";
    hash = "sha256-ZjRuJk8eIghrh8XINonqvP7xRQrGR2/YVr6kmLLhNz4=";
  };
  propagatedBuildInputs = [
    six
  ];

  nativeBuildInputs = [ jdk cython ];
  nativeBuildInputs = [
    jdk
    cython
  ];

  pythonImportsCheck = [ "jnius" ];
  pythonImportsCheck = [
    "jnius"
  ];

  meta = with lib; {
    description = "A Python module to access Java classes as Python classes using the Java Native Interface (JNI)";
    homepage = "https://github.com/kivy/pyjnius";
    changelog = "https://github.com/kivy/pyjnius/blob/${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ ifurther ];
  };