Merge pull request #250133 from marsam/update-girara

girara: 0.3.9 -> 0.4.0
This commit is contained in:
Mario Rodas 2023-08-19 23:59:14 -05:00 committed by GitHub
commit 03c11631ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchurl
, fetchpatch2
, fetchFromGitLab
, meson
, ninja
, pkg-config
@ -14,28 +13,23 @@
, libiconv
, json-glib
, libintl
, zathura
}:
stdenv.mkDerivation rec {
pname = "girara";
version = "0.3.9";
version = "0.4.0";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "https://git.pwmt.org/pwmt/${pname}/-/archive/${version}/${pname}-${version}.tar.gz";
hash = "sha256-DoqYykR/N17BHQ90GoLvAYluQ3odWPwUGRTacN6BiWU=";
src = fetchFromGitLab {
domain = "git.pwmt.org";
owner = "pwmt";
repo = "girara";
rev = version;
sha256 = "sha256-dzWdiFGJ45JcH+wNwq2P3NZeWwHXAvXR1eJC85mYy7M=";
};
patches = [
# Fix memory management bug revealed by GLib 2.76.
# https://git.pwmt.org/pwmt/girara/-/issues/17
(fetchpatch2 {
url = "https://git.pwmt.org/pwmt/girara/-/commit/6926cc1234853ccf3010a1e2625aafcf462ed60e.patch";
hash = "sha256-uayT6ikXtaBPxhZFyskShug3Tbvy2a9qimLRwdiAsic=";
})
];
nativeBuildInputs = [
meson
ninja
@ -75,6 +69,10 @@ stdenv.mkDerivation rec {
meson test --print-errorlogs
'';
passthru.tests = {
inherit zathura;
};
meta = with lib; {
homepage = "https://git.pwmt.org/pwmt/girara";
description = "User interface library";