nixpkgs/pkgs/development/compilers/swi-prolog/default.nix

33 lines
877 B
Nix
Raw Normal View History

2014-01-13 16:10:11 +00:00
{ stdenv, fetchurl, gmp, readline, openssl, libjpeg, unixODBC, zlib
, libXinerama, libXft, libXpm, libSM, libXt, freetype, pkgconfig
, fontconfig
}:
let
2014-01-13 16:10:11 +00:00
version = "6.6.1";
in
stdenv.mkDerivation {
name = "swi-prolog-${version}";
src = fetchurl {
url = "http://www.swi-prolog.org/download/stable/src/pl-${version}.tar.gz";
2014-01-13 16:10:11 +00:00
sha256 = "033b7z60jd1907p9idaa3xzbid2aadhqcdwsa2g9c1c7q8fj1gy8";
};
2014-01-13 16:10:11 +00:00
buildInputs = [ gmp readline openssl libjpeg unixODBC libXinerama
libXft libXpm libSM libXt zlib freetype pkgconfig fontconfig ];
configureFlags = "--with-world --enable-gmp --enable-shared";
2014-01-13 16:10:11 +00:00
buildFlags = "world";
meta = {
homepage = http://www.swi-prolog.org/;
description = "A Prolog compiler and interpreter";
license = "LGPL";
2014-01-13 16:10:11 +00:00
hydraPlatforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.simons ];
};
}