Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
778 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchurl,
notmuch,
openssl,
pkg-config,
sqlite,
xapian,
zlib,
}:
stdenv.mkDerivation rec {
version = "7";
pname = "muchsync";
passthru = {
inherit version;
};
src = fetchurl {
url = "http://www.muchsync.org/src/${pname}-${version}.tar.gz";
hash = "sha256-+D4vb80O9IE0df3cjTkoVoZlTaX0FWWh6ams14Gjvqw=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
notmuch
openssl
sqlite
xapian
zlib
];
XAPIAN_CONFIG = "${xapian}/bin/xapian-config";
meta = {
description = "Synchronize maildirs and notmuch databases";
mainProgram = "muchsync";
homepage = "http://www.muchsync.org/";
platforms = lib.platforms.unix;
maintainers = [ ];
license = lib.licenses.gpl2Plus;
};
}