cf9e1a03f7
This was necessary for astroid to work with gmime, and I thought it would be generally useful.
25 lines
754 B
Nix
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;
|
|
};
|
|
}
|