1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 18:34:41 +00:00

gobject-introspection: 1.44.0 -> 1.46.0

This commit is contained in:
Luca Bruno 2015-09-25 10:31:16 +02:00
parent 63ccbf55b2
commit 6858ca17db

View file

@ -5,7 +5,7 @@
# In that case its about 6MB which could be separated # In that case its about 6MB which could be separated
let let
ver_maj = "1.44"; ver_maj = "1.46";
ver_min = "0"; ver_min = "0";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gobject-introspection/${ver_maj}/${name}.tar.xz"; url = "mirror://gnome/sources/gobject-introspection/${ver_maj}/${name}.tar.xz";
sha256 = "1b972qg2yb51sdavfvb6kc19akwc15c1bwnbg81vadxamql2q33g"; sha256 = "6658bd3c2b8813eb3e2511ee153238d09ace9d309e4574af27443d87423e4233";
}; };
buildInputs = [ flex bison pkgconfig python ] buildInputs = [ flex bison pkgconfig python ]
@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
# other dependencies). # other dependencies).
configureFlags = [ "--disable-tests" ]; configureFlags = [ "--disable-tests" ];
preConfigure = ''
sed 's|/usr/bin/env ||' -i tools/g-ir-tool-template.in
'';
postInstall = "rm -rf $out/share/gtk-doc"; postInstall = "rm -rf $out/share/gtk-doc";
setupHook = ./setup-hook.sh; setupHook = ./setup-hook.sh;