diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2010-05-13 15:56:04 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2010-05-13 15:56:04 +0000 |
commit | 46bce5a7895e0e4e6209a341d77b210f4e920a7c (patch) | |
tree | cafdf7fe721e52f039372b69b81d0ca2cd8d03b4 | |
parent | c7d36ccd9726e1caf98bac288994cae6c3b67e62 (diff) | |
download | nixlib-46bce5a7895e0e4e6209a341d77b210f4e920a7c.tar nixlib-46bce5a7895e0e4e6209a341d77b210f4e920a7c.tar.gz nixlib-46bce5a7895e0e4e6209a341d77b210f4e920a7c.tar.bz2 nixlib-46bce5a7895e0e4e6209a341d77b210f4e920a7c.tar.lz nixlib-46bce5a7895e0e4e6209a341d77b210f4e920a7c.tar.xz nixlib-46bce5a7895e0e4e6209a341d77b210f4e920a7c.tar.zst nixlib-46bce5a7895e0e4e6209a341d77b210f4e920a7c.zip |
Add gobject-introspection
svn path=/nixpkgs/trunk/; revision=21763
-rw-r--r-- | pkgs/development/libraries/gobject-introspection/default.nix | 25 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gobject-introspection/default.nix b/pkgs/development/libraries/gobject-introspection/default.nix new file mode 100644 index 000000000000..62d021e251eb --- /dev/null +++ b/pkgs/development/libraries/gobject-introspection/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0a976860bf48..95f086c52840 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3996,6 +3996,10 @@ let 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 { inherit fetchurl stdenv pkgconfig libgsf libxml2 cairo intltool gettext bzip2; |