Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-03-23 06:18:02 +00:00
committed by GitHub
52 changed files with 300 additions and 740 deletions
+2 -2
View File
@@ -2,13 +2,13 @@
python3Packages.buildPythonApplication rec {
pname = "getmail6";
version = "6.14";
version = "6.15";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "1a3bw4wwdapd9n051dgwqldd8gwiipb5shaz08qwp1jndpvylm7d";
sha256 = "0cvwvlhilrqlcvza06lsrm5l1yazzvym3s5kcjxcm9cminfaf4qb";
};
doCheck = false;
+9 -4
View File
@@ -1,6 +1,7 @@
{ lib, stdenv, fetchFromGitHub, sqlite, pkg-config, autoreconfHook, pmccabe
, xapian, glib, gmime3, texinfo , emacs, guile
, xapian, glib, gmime3, texinfo, emacs, guile
, gtk3, webkitgtk, libsoup, icu
, makeWrapper
, withMug ? false
, batchSize ? null }:
@@ -27,7 +28,7 @@ stdenv.mkDerivation rec {
++ lib.optional (!stdenv.isDarwin) guile
++ lib.optionals withMug [ gtk3 webkitgtk ];
nativeBuildInputs = [ pkg-config autoreconfHook pmccabe ];
nativeBuildInputs = [ pkg-config autoreconfHook pmccabe makeWrapper ];
enableParallelBuilding = true;
@@ -37,8 +38,12 @@ stdenv.mkDerivation rec {
--replace "@abs_top_builddir@" "$out"
'';
# Install mug
postInstall = lib.optionalString withMug ''
# Make sure included scripts can find their dependencies & optionally install mug
postInstall = ''
wrapProgram "$out/bin/mu" \
--prefix LD_LIBRARY_PATH : "$out/lib" \
--prefix GUILE_LOAD_PATH : "$out/share/guile/site/2.2"
'' + lib.optionalString withMug ''
for f in mug ; do
install -m755 toys/$f/$f $out/bin/$f
done