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