2017-11-09 22:46:18 +00:00
|
|
|
{ stdenv, fetchurl, vala, intltool, pkgconfig, gtk3, glib
|
2018-02-25 02:23:58 +00:00
|
|
|
, json-glib, wrapGAppsHook, libpeas, bash, gobjectIntrospection
|
|
|
|
, gnome3, gtkspell3, shared-mime-info, libgee, libgit2-glib, librsvg, libsecret
|
2017-11-09 22:46:18 +00:00
|
|
|
, libsoup }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
substituteInPlace tests/libgitg/test-commit.c --replace "/bin/bash" "${bash}/bin/bash"
|
|
|
|
'';
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
makeFlags = "INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/ INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0";
|
|
|
|
|
2018-02-25 02:23:58 +00:00
|
|
|
propagatedUserEnvPkgs = [ shared-mime-info
|
|
|
|
gnome3.gnome-themes-standard ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-02-25 02:23:58 +00:00
|
|
|
buildInputs = [ gtk3 glib json-glib libgee libpeas gnome3.libsoup
|
|
|
|
libgit2-glib gtkspell3 gnome3.gtksourceview gnome3.gsettings-desktop-schemas
|
2017-04-16 13:20:49 +01:00
|
|
|
librsvg libsecret gobjectIntrospection gnome3.adwaita-icon-theme ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2017-11-09 22:46:18 +00:00
|
|
|
nativeBuildInputs = [ vala wrapGAppsHook intltool pkgconfig ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/action/show/Apps/Gitg;
|
|
|
|
description = "GNOME GUI client to view git repositories";
|
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|