3
0
Fork 0
forked from mirrors/nixpkgs

libgit2-glib: move to top-level

This commit is contained in:
Jan Tojnar 2018-12-14 16:05:44 +01:00
parent aead6e12f9
commit 4c40adceb9
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
5 changed files with 11 additions and 8 deletions

View file

@ -7,6 +7,7 @@
, flatpak
, glibcLocales
, gnome3
, libgit2-glib
, gobject-introspection
, gspell
, gtk-doc
@ -61,7 +62,7 @@ in stdenv.mkDerivation {
ctags
flatpak
gnome3.devhelp
gnome3.libgit2-glib
libgit2-glib
gnome3.libpeas
gnome3.vte
gspell

View file

@ -38,7 +38,7 @@ lib.makeScope pkgs.newScope (self: with self; {
inherit (pkgs) atk glib gobject-introspection gspell webkitgtk gtk3 gtkmm3
libgtop libgudev libhttpseverywhere librsvg libsecret gdk_pixbuf gtksourceview gtksourceview4
easytag meld orca rhythmbox shotwell gnome-usage
clutter clutter-gst clutter-gtk cogl gtk-vnc libdazzle libgda;
clutter clutter-gst clutter-gtk cogl gtk-vnc libdazzle libgda libgit2-glib;
libsoup = pkgs.libsoup.override { gnomeSupport = true; };
libchamplain = pkgs.libchamplain.override { libsoup = libsoup; };
@ -371,8 +371,6 @@ lib.makeScope pkgs.newScope (self: with self; {
libgnome-games-support = callPackage ./misc/libgnome-games-support { };
libgit2-glib = callPackage ./misc/libgit2-glib { };
libmediaart = callPackage ./misc/libmediaart { };
gexiv2 = callPackage ./misc/gexiv2 { };

View file

@ -6,7 +6,7 @@
stdenv.mkDerivation (rec {
name = "libgit2-${version}";
version = "0.26.6";
# keep the version in sync with pythonPackages.pygit2 and gnome3.libgit2-glib
# keep the version in sync with pythonPackages.pygit2 and libgit2-glib
src = fetchFromGitHub {
owner = "libgit2";

View file

@ -2,11 +2,11 @@
, gtk-doc, gobject-introspection, libgit2, glib, python3 }:
stdenv.mkDerivation rec {
name = "libgit2-glib-${version}";
pname = "libgit2-glib";
version = "0.26.4";
src = fetchurl {
url = "mirror://gnome/sources/libgit2-glib/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0nhyqas110q7ingw97bvyjdb7v4dzch517dq8sn8c33s8910wqcp";
};
@ -18,7 +18,9 @@ stdenv.mkDerivation rec {
'';
passthru = {
updateScript = gnome3.updateScript { packageName = "libgit2-glib"; attrPath = "gnome3.libgit2-glib"; };
updateScript = gnome3.updateScript {
packageName = pname;
};
};
nativeBuildInputs = [

View file

@ -9891,6 +9891,8 @@ in
inherit (darwin.apple_sdk.frameworks) Security;
};
libgit2-glib = callPackage ../development/libraries/libgit2-glib { };
glbinding = callPackage ../development/libraries/glbinding { };
gle = callPackage ../development/libraries/gle { };