nixpkgs/pkgs/development/libraries/gmime/default.nix
Brandon Dimcheff cf9e1a03f7
add introspection to gmime
This was necessary for astroid to work with gmime, and I thought it
would be generally useful.
2017-01-01 22:38:12 +01:00

25 lines
754 B
Nix

{ stdenv, fetchurl, pkgconfig, glib, zlib, libgpgerror, gobjectIntrospection }:
stdenv.mkDerivation rec {
name = "gmime-2.6.20";
src = fetchurl {
url = "mirror://gnome/sources/gmime/2.6/${name}.tar.xz";
sha256 = "0rfzbgsh8ira5p76kdghygl5i3fvmmx4wbw5rp7f8ajc4vxp18g0";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
propagatedBuildInputs = [ glib zlib libgpgerror ];
configureFlags = [ "--enable-introspection=yes" ];
enableParallelBuilding = true;
meta = {
homepage = http://spruce.sourceforge.net/gmime/;
description = "A C/C++ library for manipulating MIME messages";
maintainers = [ stdenv.lib.maintainers.chaoflow ];
platforms = stdenv.lib.platforms.unix;
};
}