Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
722 B · 44 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, isPy3k, olm, cffi, future, aspectlib, pytest-benchmark, pytestCheckHook}:
buildPythonPackage { pname = "python-olm"; inherit (olm) src version;
disabled = !isPy3k;
sourceRoot = "source/python"; buildInputs = [ olm ];
preBuild = '' make include/olm/olm.h '';
propagatedBuildInputs = [ cffi future ];
propagatedNativeBuildInputs = [ cffi ];
pythonImportsCheck = [ "olm" ];
nativeCheckInputs = [ aspectlib pytest-benchmark pytestCheckHook ];
meta = { inherit (olm.meta) license maintainers; description = "Python bindings for Olm"; homepage = "https://gitlab.matrix.org/matrix-org/olm/tree/master/python"; };}