python3Packages.python-olm: init at (automatic) 3.1.4

This commit is contained in:
tilpner 2019-11-15 15:19:31 +01:00 committed by Jon
parent 58e573d358
commit 58a4eccf00
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, buildPythonPackage, olm,
cffi, future, typing }:
buildPythonPackage {
pname = "python-olm";
inherit (olm) src version;
sourceRoot = "${olm.name}/python";
buildInputs = [ olm ];
preBuild = ''
make include/olm/olm.h
'';
propagatedBuildInputs = [
cffi
future
typing
];
doCheck = false;
meta = with lib; {
description = "Python bindings for Olm";
homepage = "https://gitlab.matrix.org/matrix-org/olm/tree/master/python";
license = olm.meta.license;
maintainers = [ maintainers.tilpner ];
};
}

View file

@ -1149,6 +1149,8 @@ in {
igraph = pkgs.igraph;
};
python-olm = callPackage ../development/python-modules/python-olm { };
python3-openid = callPackage ../development/python-modules/python3-openid { };
python-packer = callPackage ../development/python-modules/python-packer { };