alot: add patch for email composition

This version is not usable without this patch.
See https://github.com/pazz/alot/issues/1468.
This commit is contained in:
pacien 2020-03-09 02:42:17 +01:00
parent 65731ad634
commit b6d45301de

@ -1,4 +1,4 @@
{ stdenv, lib, buildPythonPackage, python, fetchFromGitHub, isPy3k
{ stdenv, lib, buildPythonPackage, python, fetchFromGitHub, fetchpatch, isPy3k
, notmuch, urwid, urwidtrees, twisted, python_magic, configobj, mock, file, gpgme
, service-identity
, gnupg ? null, sphinx, awk ? null, procps ? null, future ? null
@ -19,6 +19,15 @@ buildPythonPackage rec {
sha256 = "sha256-WUwOJcq8JE7YO8sFeZwYikCRhpufO0pL6MKu54ZYsHI=";
};
patches = [
# can't compose email if signature is set: https://github.com/pazz/alot/issues/1468
(fetchpatch {
name = "envelope-body.patch";
url = "https://github.com/pazz/alot/commit/28a4296c7f556c251d71d9502681980d46d9fa55.patch";
sha256 = "1iwvmjyz4mh1g08vr85ywhah2xarcqg8dazagygk19icgsn45w06";
})
];
nativeBuildInputs = lib.optional withManpage sphinx;
propagatedBuildInputs = [