mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
30 lines
558 B
Nix
30 lines
558 B
Nix
{ 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 ];
|
|
};
|
|
}
|