Loading pkgs/development/python-modules/notmuch2/default.nix +9 −3 Original line number Diff line number Diff line Loading @@ -20,9 +20,16 @@ buildPythonPackage { ]; # since notmuch 0.35, this package expects _notmuch_config.py that is # generated by notmuch's configure script # generated by notmuch's configure script. We write one which references our # built libraries. postPatch = '' cp ${notmuch.bindingconfig}/_notmuch_config.py . cat > _notmuch_config.py << EOF import os dir_path = os.path.dirname(os.path.realpath(__file__)) NOTMUCH_VERSION_FILE=os.path.join(dir_path, '../../version.txt') NOTMUCH_INCLUDE_DIR='${notmuch.out}/lib' NOTMUCH_LIB_DIR='${notmuch.out}/lib' EOF ''; # no tests Loading @@ -30,7 +37,6 @@ buildPythonPackage { pythonImportsCheck = [ "notmuch2" ]; meta = with lib; { broken = stdenv.isDarwin; description = "Pythonic bindings for the notmuch mail database using CFFI"; homepage = "https://notmuchmail.org/"; license = licenses.gpl3; Loading Loading
pkgs/development/python-modules/notmuch2/default.nix +9 −3 Original line number Diff line number Diff line Loading @@ -20,9 +20,16 @@ buildPythonPackage { ]; # since notmuch 0.35, this package expects _notmuch_config.py that is # generated by notmuch's configure script # generated by notmuch's configure script. We write one which references our # built libraries. postPatch = '' cp ${notmuch.bindingconfig}/_notmuch_config.py . cat > _notmuch_config.py << EOF import os dir_path = os.path.dirname(os.path.realpath(__file__)) NOTMUCH_VERSION_FILE=os.path.join(dir_path, '../../version.txt') NOTMUCH_INCLUDE_DIR='${notmuch.out}/lib' NOTMUCH_LIB_DIR='${notmuch.out}/lib' EOF ''; # no tests Loading @@ -30,7 +37,6 @@ buildPythonPackage { pythonImportsCheck = [ "notmuch2" ]; meta = with lib; { broken = stdenv.isDarwin; description = "Pythonic bindings for the notmuch mail database using CFFI"; homepage = "https://notmuchmail.org/"; license = licenses.gpl3; Loading