python3Packages.python-olm: init at (automatic) 3.1.4
This commit is contained in:
parent
58e573d358
commit
58a4eccf00
2 changed files with 31 additions and 0 deletions
29
pkgs/development/python-modules/python-olm/default.nix
Normal file
29
pkgs/development/python-modules/python-olm/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue