1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 08:05:40 +00:00
nixpkgs/pkgs/development/python-modules/notmuch/default.nix

29 lines
551 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, pkgs
, python
}:
2019-08-13 22:52:01 +01:00
buildPythonPackage {
name = "python-${pkgs.notmuch.name}";
src = pkgs.notmuch.src;
sourceRoot = pkgs.notmuch.pythonSourceRoot;
buildInputs = [ python pkgs.notmuch ];
postPatch = ''
sed -i -e '/CDLL/s@"libnotmuch\.@"${pkgs.notmuch}/lib/libnotmuch.@' \
notmuch/globals.py
'';
meta = with stdenv.lib; {
description = "A Python wrapper around notmuch";
homepage = https://notmuchmail.org/;
license = licenses.gpl3;
maintainers = with maintainers; [ ];
};
}