notmuch: move gmime==3 constraint into the package

Using a top-level/all-packages.nix override to select the version is
confusing, and circumvents user overlays.
This commit is contained in:
Adam Joseph 2023-04-06 23:48:14 -07:00
parent e3bbbfaf86
commit 055ffe5e35
2 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{ fetchurl, lib, stdenv
, pkg-config, gnupg
, xapian, gmime, talloc, zlib
, xapian, gmime3, talloc, zlib
, doxygen, perl, texinfo
, notmuch
, pythonPackages
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
buildInputs = [
gnupg # undefined dependencies
xapian gmime talloc zlib # dependencies described in INSTALL
xapian gmime3 talloc zlib # dependencies described in INSTALL
perl
pythonPackages.python
] ++ lib.optional withRuby ruby;
@ -81,7 +81,7 @@ stdenv.mkDerivation rec {
ln -s ${test-database} test/test-databases/database-v1.tar.xz
'';
doCheck = !stdenv.hostPlatform.isDarwin && (lib.versionAtLeast gmime.version "3.0.3");
doCheck = !stdenv.hostPlatform.isDarwin && (lib.versionAtLeast gmime3.version "3.0.3");
checkTarget = "test";
nativeCheckInputs = [
which dtach openssl bash

View file

@ -32601,7 +32601,6 @@ with pkgs;
notepadqq = libsForQt5.callPackage ../applications/editors/notepadqq { };
notmuch = callPackage ../applications/networking/mailreaders/notmuch {
gmime = gmime3;
pythonPackages = python3Packages;
};