2021-01-22 11:25:31 +00:00
|
|
|
{ lib, stdenv, fetchurl, readline, gmp, zlib }:
|
2013-09-11 17:40:10 +00:00
|
|
|
|
2009-10-28 14:06:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-01-27 12:35:07 +00:00
|
|
|
version = "6.3.3";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "yap";
|
2008-03-13 01:13:53 +00:00
|
|
|
|
2009-10-28 14:06:56 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://www.dcc.fc.up.pt/~vsc/Yap/${pname}-${version}.tar.gz";
|
2015-01-27 12:35:07 +00:00
|
|
|
sha256 = "0y7sjwimadqsvgx9daz28c9mxcx9n1znxklih9xg16k6n54v9qxf";
|
2008-03-13 01:13:53 +00:00
|
|
|
};
|
|
|
|
|
2013-09-11 18:43:04 +00:00
|
|
|
buildInputs = [ readline gmp zlib ];
|
2013-09-11 17:40:10 +00:00
|
|
|
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [ "--enable-tabling=yes" ];
|
2013-10-05 18:59:34 +00:00
|
|
|
|
2019-10-30 11:34:47 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-fpermissive";
|
2018-02-18 17:11:11 +00:00
|
|
|
|
2013-09-11 18:43:04 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.dcc.fc.up.pt/~vsc/Yap/";
|
2015-04-30 15:05:14 +00:00
|
|
|
description = "A ISO-compatible high-performance Prolog compiler";
|
2021-01-22 11:25:31 +00:00
|
|
|
license = lib.licenses.artistic2;
|
2013-09-11 18:43:04 +00:00
|
|
|
|
2021-01-22 11:25:31 +00:00
|
|
|
maintainers = [ lib.maintainers.peti ];
|
|
|
|
platforms = lib.platforms.linux;
|
2015-03-04 10:14:58 +00:00
|
|
|
broken = !stdenv.is64bit; # the linux 32 bit build fails.
|
2008-03-13 01:13:53 +00:00
|
|
|
};
|
|
|
|
}
|