2014-08-28 18:35:53 +02:00
|
|
|
{ stdenv, fetchurl, gnome3, libtool, pkgconfig, vala
|
2014-01-10 16:15:21 +01:00
|
|
|
, gtk_doc, gobjectIntrospection, libgit2, glib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libgit2-glib-${version}";
|
2014-08-28 18:35:53 +02:00
|
|
|
version = "0.0.20";
|
2014-01-10 16:15:21 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/GNOME/libgit2-glib/archive/v${version}.tar.gz";
|
2014-08-28 18:35:53 +02:00
|
|
|
sha256 = "1s2hj0ji73ishniqvr6mx90l1ji5jjwwrwhp91i87fxk0d3sry5x";
|
2014-01-10 16:15:21 +01:00
|
|
|
};
|
2014-08-28 18:35:53 +02:00
|
|
|
|
|
|
|
cmakeFlags = "-DTHREADSAFE=ON";
|
2014-01-10 16:15:21 +01:00
|
|
|
|
|
|
|
configureScript = "sh ./autogen.sh";
|
|
|
|
|
2014-08-28 18:35:53 +02:00
|
|
|
buildInputs = [ gnome3.gnome_common libtool pkgconfig vala
|
2014-02-18 13:22:02 +01:00
|
|
|
gtk_doc gobjectIntrospection libgit2 glib ];
|
2014-01-10 16:15:21 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|