3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/yap/default.nix

28 lines
735 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, readline, gmp, zlib }:
2013-09-11 18:40:10 +01:00
stdenv.mkDerivation rec {
2015-01-27 12:35:07 +00:00
version = "6.3.3";
pname = "yap";
src = fetchurl {
url = "https://www.dcc.fc.up.pt/~vsc/Yap/${pname}-${version}.tar.gz";
2015-01-27 12:35:07 +00:00
sha256 = "0y7sjwimadqsvgx9daz28c9mxcx9n1znxklih9xg16k6n54v9qxf";
};
buildInputs = [ readline gmp zlib ];
2013-09-11 18:40:10 +01:00
2018-07-25 22:44:21 +01:00
configureFlags = [ "--enable-tabling=yes" ];
2013-10-05 19:59:34 +01:00
2019-10-30 11:34:47 +00:00
NIX_CFLAGS_COMPILE = "-fpermissive";
meta = {
homepage = "http://www.dcc.fc.up.pt/~vsc/Yap/";
description = "A ISO-compatible high-performance Prolog compiler";
license = lib.licenses.artistic2;
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.
};
}