Commit 26125d9f authored by Robert Schütz's avatar Robert Schütz
Browse files

python310Packages.python-olm: run tests

parent ef77617b
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
{ lib, buildPythonPackage, isPy3k, olm
, cffi, future, typing }:
, cffi
, future
, aspectlib
, pytest-benchmark
, pytestCheckHook
}:

buildPythonPackage {
  pname = "python-olm";
@@ -17,17 +22,20 @@ buildPythonPackage {
  propagatedBuildInputs = [
    cffi
    future
    typing
  ];

  propagatedNativeBuildInputs = [
    cffi
  ];

  # Some required libraries for testing are not packaged yet.
  doCheck = false;
  pythonImportsCheck = [ "olm" ];

  nativeCheckInputs = [
    aspectlib
    pytest-benchmark
    pytestCheckHook
  ];

  meta = {
    inherit (olm.meta) license maintainers;
    description = "Python bindings for Olm";