girara: 0.3.9 -> 0.4.0

Diff: https://git.pwmt.org/pwmt/girara/-/compare/0.3.9...0.4.0
This commit is contained in:
Mario Rodas 2023-08-19 04:20:00 +00:00
parent 9a317fcf9d
commit cd35761652

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchurl
, fetchpatch2
, fetchFromGitLab
, meson
, ninja
, pkg-config
@ -18,24 +17,18 @@
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