2018-02-09 19:10:32 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch }:
|
2010-07-28 11:55:54 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-12-18 13:51:33 +00:00
|
|
|
name = "figlet-2.2.5";
|
2009-04-26 11:06:48 +00:00
|
|
|
|
|
|
|
# some tools can be found here ftp://ftp.figlet.org/pub/figlet/util/
|
2010-07-28 11:55:54 +00:00
|
|
|
src = fetchurl {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-2.2.5.tar.gz";
|
2013-12-18 13:51:33 +00:00
|
|
|
sha256 = "0za1ax15x7myjl8jz271ybly8ln9kb9zhm1gf6rdlxzhs07w925z";
|
2009-04-26 11:06:48 +00:00
|
|
|
};
|
|
|
|
|
2018-02-09 19:10:32 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "https://git.alpinelinux.org/cgit/aports/plain/main/figlet/musl-fix-cplusplus-decls.patch?h=3.4-stable&id=71776c73a6f04b6f671430f702bcd40b29d48399";
|
2018-02-09 19:10:32 +00:00
|
|
|
name = "musl-fix-cplusplus-decls.patch";
|
|
|
|
sha256 = "1720zgrfk9makznqkbjrnlxm7nnhk6zx7g458fv53337n3g3zn7j";
|
|
|
|
})
|
|
|
|
];
|
2012-06-11 07:15:10 +00:00
|
|
|
|
2018-02-09 19:10:32 +00:00
|
|
|
makeFlags = [ "prefix=$(out)" "CC:=$(CC)" "LD:=$(CC)" ];
|
|
|
|
|
|
|
|
doCheck = true;
|
2009-04-26 11:06:48 +00:00
|
|
|
|
2014-11-06 00:44:33 +00:00
|
|
|
meta = {
|
2010-07-28 11:55:54 +00:00
|
|
|
description = "Program for making large letters out of ordinary text";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.figlet.org/";
|
2014-11-06 00:44:33 +00:00
|
|
|
license = stdenv.lib.licenses.afl21;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-04-26 11:06:48 +00:00
|
|
|
};
|
|
|
|
}
|