olm: 3.2.1 -> 3.2.2 (#114245)

Next to the version bump, some little refactoring was performed.
This commit is contained in:
Alvar
2021-02-24 19:01:39 +01:00
committed by GitHub
parent 7b9c874d67
commit ca16e7dc52
2 changed files with 18 additions and 14 deletions
@@ -1,11 +1,11 @@
{ lib, buildPythonPackage, olm,
cffi, future, isPy3k, typing }:
{ lib, buildPythonPackage, isPy3k, olm
, cffi, future, typing }:
buildPythonPackage {
pname = "python-olm";
inherit (olm) src version;
sourceRoot = "${olm.name}/python";
sourceRoot = "source/python";
buildInputs = [ olm ];
preBuild = ''
@@ -17,12 +17,13 @@ buildPythonPackage {
future
] ++ lib.optionals (!isPy3k) [ typing ];
# Some required libraries for testing are not packaged yet.
doCheck = false;
pythonImportsCheck = [ "olm" ];
meta = with lib; {
meta = {
inherit (olm.meta) license maintainers;
description = "Python bindings for Olm";
homepage = "https://gitlab.matrix.org/matrix-org/olm/tree/master/python";
license = olm.meta.license;
maintainers = [ maintainers.tilpner ];
};
}