gnome3.gitg: cleanup
This commit is contained in:
parent
a2c1f97a11
commit
44a40a02cb
@ -1,22 +1,42 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, vala, intltool, pkgconfig, gtk3, glib
|
{ stdenv
|
||||||
, json-glib, wrapGAppsHook, libpeas, bash, gobject-introspection
|
, fetchurl
|
||||||
, libsoup, gtksourceview, gsettings-desktop-schemas, adwaita-icon-theme
|
, fetchpatch
|
||||||
, gnome3, gtkspell3, shared-mime-info, libgee, libgit2-glib, libsecret
|
, vala
|
||||||
, meson, ninja, python3
|
, intltool
|
||||||
|
, pkgconfig
|
||||||
|
, gtk3
|
||||||
|
, glib
|
||||||
|
, json-glib
|
||||||
|
, wrapGAppsHook
|
||||||
|
, libpeas
|
||||||
|
, bash
|
||||||
|
, gobject-introspection
|
||||||
|
, libsoup
|
||||||
|
, gtksourceview
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
, adwaita-icon-theme
|
||||||
|
, gnome3
|
||||||
|
, gtkspell3
|
||||||
|
, shared-mime-info
|
||||||
|
, libgee
|
||||||
|
, libgit2-glib
|
||||||
|
, libsecret
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
pname = "gitg";
|
pname = "gitg";
|
||||||
version = "3.30.1";
|
version = "3.30.1";
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
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}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1fz8q1aiql6k740savdjh0vzbyhcflgf94cfdhvzcrrvm929n2ss";
|
sha256 = "1fz8q1aiql6k740savdjh0vzbyhcflgf94cfdhvzcrrvm929n2ss";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
# Fix build with latest libgit2-glib
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = https://gitlab.gnome.org/GNOME/gitg/commit/42bceea265f53fe7fd4a41037b936deed975fc6c.patch;
|
url = https://gitlab.gnome.org/GNOME/gitg/commit/42bceea265f53fe7fd4a41037b936deed975fc6c.patch;
|
||||||
sha256 = "1xq245rsi1bi66lswk33pdiazfaagxf77836ds5q73900rx4r7fw";
|
sha256 = "1xq245rsi1bi66lswk33pdiazfaagxf77836ds5q73900rx4r7fw";
|
||||||
@ -36,12 +56,30 @@ in stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3 glib json-glib libgee libpeas libsoup
|
adwaita-icon-theme
|
||||||
libgit2-glib gtkspell3 gtksourceview gsettings-desktop-schemas
|
glib
|
||||||
libsecret gobject-introspection adwaita-icon-theme
|
gsettings-desktop-schemas
|
||||||
|
gtk3
|
||||||
|
gtksourceview
|
||||||
|
gtkspell3
|
||||||
|
json-glib
|
||||||
|
libgee
|
||||||
|
libgit2-glib
|
||||||
|
libpeas
|
||||||
|
libsecret
|
||||||
|
libsoup
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja python3 vala wrapGAppsHook intltool pkgconfig ];
|
nativeBuildInputs = [
|
||||||
|
gobject-introspection
|
||||||
|
intltool
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkgconfig
|
||||||
|
python3
|
||||||
|
vala
|
||||||
|
wrapGAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(
|
gappsWrapperArgs+=(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user