1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/python-olm/default.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 ];
};
}