pan: 0.146 -> 0.154

According to https://pan.rebelbase.com/download/, newer versions are
released on https://gitlab.gnome.org/GNOME/pan/
This commit is contained in:
Chuang Zhu
2023-07-25 04:22:56 +08:00
parent 12303c652b
commit 517fd7c365
2 changed files with 12 additions and 1126 deletions

View File

@@ -1,11 +1,12 @@
{ spellChecking ? true { spellChecking ? true
, lib , lib
, stdenv , stdenv
, fetchurl , fetchFromGitLab
, autoreconfHook
, pkg-config , pkg-config
, gtk3 , gtk3
, gtkspell3 , gtkspell3
, gmime2 , gmime3
, gettext , gettext
, intltool , intltool
, itstool , itstool
@@ -21,21 +22,19 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pan"; pname = "pan";
version = "0.146"; version = "0.154";
src = fetchurl { src = fetchFromGitLab {
url = "https://pan.rebelbase.com/download/releases/${version}/source/pan-${version}.tar.bz2"; domain = "gitlab.gnome.org";
sha256 = "17agd27sn4a7nahvkpg0w39kv74njgdrrygs74bbvpaj8rk2hb55"; owner = "GNOME";
repo = pname;
rev = "v${version}";
hash = "sha256-o+JFUraSoQ0HDmldHvTX+X7rl2L4n4lJmI4UFZrsfkQ=";
}; };
patches = [ nativeBuildInputs = [ autoreconfHook pkg-config gettext intltool itstool libxml2 makeWrapper ];
# Take <glib.h>, <gmime.h>, "gtk-compat.h" out of extern "C"
./move-out-of-extern-c.diff
];
nativeBuildInputs = [ pkg-config gettext intltool itstool libxml2 makeWrapper ]; buildInputs = [ gtk3 gmime3 libnotify gnutls ]
buildInputs = [ gtk3 gmime2 libnotify gnutls ]
++ lib.optional spellChecking gtkspell3 ++ lib.optional spellChecking gtkspell3
++ lib.optionals gnomeSupport [ libsecret gcr ]; ++ lib.optionals gnomeSupport [ libsecret gcr ];