forked from mirrors/nixpkgs
Add gobject-introspection
svn path=/nixpkgs/trunk/; revision=21763
This commit is contained in:
parent
c7d36ccd97
commit
46bce5a789
25
pkgs/development/libraries/gobject-introspection/default.nix
Normal file
25
pkgs/development/libraries/gobject-introspection/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{ stdenv, fetchurl, glib, flex, bison, pkgconfig, libffi, python, cairo }:
|
||||||
|
|
||||||
|
let
|
||||||
|
baseName = "gobject-introspection";
|
||||||
|
v = "0.6.10";
|
||||||
|
in
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "${baseName}-${v}";
|
||||||
|
|
||||||
|
buildInputs = [ flex bison glib pkgconfig python cairo ];
|
||||||
|
propagatedBuildInputs = [ libffi ];
|
||||||
|
configureFlags = "--enable-gcov";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://gnome/sources/${baseName}/0.6/${name}.tar.bz2";
|
||||||
|
sha256 = "0jwd7bybgvg6dwhg64da8k9yjrs37y5p153gaaapz5j59ld53g9n";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
maintainers = [ maintainers.urkud ];
|
||||||
|
platforms = [ platforms.linux ];
|
||||||
|
homepage = http://live.gnome.org/GObjectIntrospection;
|
||||||
|
};
|
||||||
|
}
|
|
@ -3996,6 +3996,10 @@ let
|
||||||
|
|
||||||
gmpxx = gmp.override { cxx = true; };
|
gmpxx = gmp.override { cxx = true; };
|
||||||
|
|
||||||
|
gobjectIntrospection = makeOverridable (import ../development/libraries/gobject-introspection) {
|
||||||
|
inherit fetchurl stdenv pkgconfig flex bison glib libffi python cairo;
|
||||||
|
};
|
||||||
|
|
||||||
goffice = import ../development/libraries/goffice {
|
goffice = import ../development/libraries/goffice {
|
||||||
inherit fetchurl stdenv pkgconfig libgsf libxml2 cairo
|
inherit fetchurl stdenv pkgconfig libgsf libxml2 cairo
|
||||||
intltool gettext bzip2;
|
intltool gettext bzip2;
|
||||||
|
|
Loading…
Reference in a new issue