Skip to content

Commit

Permalink
alot: add patch for email composition
Browse files Browse the repository at this point in the history
This version is not usable without this patch.
See pazz/alot#1468.

(cherry picked from commit b6d4530)
  • Loading branch information
pacien authored and dtzWill committed Mar 10, 2020
1 parent c60727c commit 4152aea
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/development/python-modules/alot/default.nix
Original file line number Diff line number Diff line change
@@ -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, glibcLocales
, gnupg ? null, sphinx, awk ? null, procps ? null, future ? null
Expand All @@ -19,6 +19,15 @@ buildPythonPackage rec {
sha256 = "0wmhb23fgbn2x15llfwzkf392h4a32f7j1fb7gc4w95wr8jhwk2r";
};

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 = [
Expand Down

0 comments on commit 4152aea

Please sign in to comment.