gitg: 3.26.0 -> 3.30.1
This commit is contained in:
parent
3fdfde44c6
commit
abb694f562
@ -1,35 +1,39 @@
|
|||||||
{ stdenv, fetchurl, vala, intltool, pkgconfig, gtk3, glib
|
{ stdenv, fetchurl, vala, intltool, pkgconfig, gtk3, glib
|
||||||
, json-glib, wrapGAppsHook, libpeas, bash, gobjectIntrospection
|
, json-glib, wrapGAppsHook, libpeas, bash, gobjectIntrospection
|
||||||
, gnome3, gtkspell3, shared-mime-info, libgee, libgit2-glib, libsecret
|
, gnome3, gtkspell3, shared-mime-info, libgee, libgit2-glib, libsecret
|
||||||
|
, meson, ninja, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "gitg";
|
pname = "gitg";
|
||||||
version = "3.26.0";
|
version = "3.30.1";
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||||
sha256 = "26730d437d6a30d6e341b9e8da99d2134dce4b96022c195609f45062f82b54d5";
|
sha256 = "1fz8q1aiql6k740savdjh0vzbyhcflgf94cfdhvzcrrvm929n2ss";
|
||||||
};
|
};
|
||||||
|
|
||||||
preCheck = ''
|
postPatch = ''
|
||||||
substituteInPlace tests/libgitg/test-commit.c --replace "/bin/bash" "${bash}/bin/bash"
|
chmod +x meson_post_install.py
|
||||||
|
patchShebangs meson_post_install.py
|
||||||
|
sed -i '/gtk-update-icon-cache/s/^/#/' meson_post_install.py
|
||||||
|
|
||||||
|
substituteInPlace tests/libgitg/test-commit.vala --replace "/bin/bash" "${bash}/bin/bash"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
makeFlags = "INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/ INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0";
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3 glib json-glib libgee libpeas gnome3.libsoup
|
gtk3 glib json-glib libgee libpeas gnome3.libsoup
|
||||||
libgit2-glib gtkspell3 gnome3.gtksourceview gnome3.gsettings-desktop-schemas
|
libgit2-glib gtkspell3 gnome3.gtksourceview gnome3.gsettings-desktop-schemas
|
||||||
libsecret gobjectIntrospection gnome3.adwaita-icon-theme
|
libsecret gobjectIntrospection gnome3.adwaita-icon-theme
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ vala wrapGAppsHook intltool pkgconfig ];
|
nativeBuildInputs = [ meson ninja python3 vala wrapGAppsHook intltool pkgconfig ];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(
|
gappsWrapperArgs+=(
|
||||||
|
Loading…
Reference in New Issue
Block a user