mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 04:25:14 +00:00
Merge pull request #196956 from oxzi/claws-mail-4.1.1
This commit is contained in:
commit
834c3a42d3
@ -98,22 +98,17 @@ let
|
|||||||
];
|
];
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "claws-mail";
|
pname = "claws-mail";
|
||||||
version = "4.1.0";
|
version = "4.1.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://claws-mail.org/download.php?file=releases/claws-mail-${version}.tar.xz";
|
url = "https://claws-mail.org/download.php?file=releases/claws-mail-${version}.tar.xz";
|
||||||
hash = "sha256-DhqcoNuNKp4FiuMM3H/JGXeSFOw8Vu4Min+IzCOBeo4=";
|
hash = "sha256-sYnnAMGJb14N6wt21L+oIOt6wZNe4Qqpr7raPPU6A0Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./mime.patch
|
./mime.patch
|
||||||
# fix build with perl 5.36+
|
|
||||||
(fetchurl {
|
|
||||||
url = "https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/claws-mail/trunk/20cope_with_fix_for_1009149.patch";
|
|
||||||
hash = "sha256-/WBslmoFvja2v2GEBntxvNtG0I3xtkUUqXO5gl5pqqs=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
@ -124,6 +119,8 @@ in stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
substituteInPlace configure.ac \
|
||||||
|
--replace 'm4_esyscmd([./get-git-version])' '${version}'
|
||||||
substituteInPlace src/procmime.c \
|
substituteInPlace src/procmime.c \
|
||||||
--subst-var-by MIMEROOTDIR ${shared-mime-info}/share
|
--subst-var-by MIMEROOTDIR ${shared-mime-info}/share
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user