mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
e59ef4302a
svn path=/nixpkgs/branches/kde-4.7/; revision=27635
31 lines
802 B
Nix
31 lines
802 B
Nix
{ stdenv, fetchurl, glib, flex, bison, pkgconfig, libffi, python }:
|
|
|
|
let
|
|
baseName = "gobject-introspection";
|
|
v = "0.10.8";
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${baseName}-${v}";
|
|
|
|
buildInputs = [ flex bison glib pkgconfig python ];
|
|
propagatedBuildInputs = [ libffi ];
|
|
|
|
# Tests depend on cairo, which is undesirable (it pulls in lots of
|
|
# other dependencies).
|
|
configureFlags = "--disable-tests";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${baseName}/0.10/${name}.tar.bz2";
|
|
sha256 = "5b1387ff37f03db880a2b1cbd6c6b6dfb923a29468d4d8367c458abf7704c61e";
|
|
};
|
|
|
|
postInstall = "rm -rf $out/share/gtk-doc";
|
|
|
|
meta = with stdenv.lib; {
|
|
maintainers = [ maintainers.urkud ];
|
|
platforms = platforms.linux;
|
|
homepage = http://live.gnome.org/GObjectIntrospection;
|
|
};
|
|
}
|