nixpkgs/pkgs/development/compilers/yap/default.nix

26 lines
704 B
Nix
Raw Normal View History

{ stdenv, fetchurl, readline, gmp, zlib }:
2013-09-11 21:40:10 +04:00
stdenv.mkDerivation rec {
2015-01-27 15:35:07 +03:00
version = "6.3.3";
2013-09-11 21:40:10 +04:00
name = "yap-${version}";
src = fetchurl {
2013-09-11 21:40:10 +04:00
url = "http://www.dcc.fc.up.pt/~vsc/Yap/${name}.tar.gz";
2015-01-27 15:35:07 +03:00
sha256 = "0y7sjwimadqsvgx9daz28c9mxcx9n1znxklih9xg16k6n54v9qxf";
};
buildInputs = [ readline gmp zlib ];
2013-09-11 21:40:10 +04:00
2013-10-05 22:59:34 +04:00
configureFlags = "--enable-tabling=yes";
meta = {
homepage = "http://www.dcc.fc.up.pt/~vsc/Yap/";
description = "A ISO-compatible high-performance Prolog compiler";
license = stdenv.lib.licenses.artistic2;
maintainers = [ stdenv.lib.maintainers.peti ];
platforms = stdenv.lib.platforms.linux;
2015-03-04 13:14:58 +03:00
broken = !stdenv.is64bit; # the linux 32 bit build fails.
};
}