gnome3.libgit2-glib: fix build
This commit is contained in:
parent
81cbb53075
commit
49e02c53f0
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, gnome3, libtool, pkgconfig, vala, libssh2
|
{ stdenv, fetchurl, gnome3, meson, ninja, pkgconfig, vala, libssh2
|
||||||
, gtk-doc, gobjectIntrospection, libgit2, glib }:
|
, gtk-doc, gobjectIntrospection, libgit2, glib, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libgit2-glib-${version}";
|
name = "libgit2-glib-${version}";
|
||||||
@ -10,12 +10,19 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0nhyqas110q7ingw97bvyjdb7v4dzch517dq8sn8c33s8910wqcp";
|
sha256 = "0nhyqas110q7ingw97bvyjdb7v4dzch517dq8sn8c33s8910wqcp";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
for f in meson_vapi_link.py meson_python_compile.py; do
|
||||||
|
chmod +x $f
|
||||||
|
patchShebangs $f
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript { packageName = "libgit2-glib"; attrPath = "gnome3.libgit2-glib"; };
|
updateScript = gnome3.updateScript { packageName = "libgit2-glib"; attrPath = "gnome3.libgit2-glib"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
gnome3.gnome-common libtool pkgconfig vala gtk-doc gobjectIntrospection
|
meson ninja pkgconfig vala gtk-doc gobjectIntrospection
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -23,7 +30,10 @@ stdenv.mkDerivation rec {
|
|||||||
libgit2 glib
|
libgit2 glib
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ libssh2 ];
|
buildInputs = [
|
||||||
|
libssh2
|
||||||
|
python3.pkgs.pygobject3 # this should really be a propagated input of python output
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A glib wrapper library around the libgit2 git access library";
|
description = "A glib wrapper library around the libgit2 git access library";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user