2013-12-04 06:56:05 -08:00
|
|
|
{stdenv, fetchurl, xmlto, docbook_xml_dtd_412, docbook_xsl, libxml2 }:
|
2006-08-13 02:46:54 -07:00
|
|
|
|
2019-09-22 00:38:09 -07:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "giflib-5.2.1";
|
2006-08-13 02:46:54 -07:00
|
|
|
src = fetchurl {
|
2019-09-22 00:38:09 -07:00
|
|
|
url = "mirror://sourceforge/giflib/${name}.tar.gz";
|
|
|
|
sha256 = "1gbrg03z1b6rlrvjyc6d41bc8j1bsr7rm8206gb1apscyii5bnii";
|
2006-08-13 02:46:54 -07:00
|
|
|
};
|
2013-12-04 06:56:05 -08:00
|
|
|
|
2019-09-22 00:38:09 -07:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace 'PREFIX = /usr/local' 'PREFIX = ${builtins.placeholder "out"}'
|
|
|
|
'';
|
|
|
|
|
2013-12-04 06:56:05 -08:00
|
|
|
buildInputs = [ xmlto docbook_xml_dtd_412 docbook_xsl libxml2 ];
|
2019-09-22 00:38:09 -07:00
|
|
|
|
2014-09-30 02:41:06 -07:00
|
|
|
meta = {
|
2015-04-30 08:05:14 -07:00
|
|
|
description = "A library for reading and writing gif images";
|
2014-09-30 02:41:06 -07:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-09-30 03:33:52 -07:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2014-09-30 02:41:06 -07:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
2019-09-22 00:38:09 -07:00
|
|
|
branch = "5.2";
|
2014-09-30 02:41:06 -07:00
|
|
|
};
|
2006-08-13 02:46:54 -07:00
|
|
|
}
|