mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
33 lines
877 B
Nix
33 lines
877 B
Nix
{ stdenv, fetchurl, gmp, readline, openssl, libjpeg, unixODBC, zlib
|
|
, libXinerama, libXft, libXpm, libSM, libXt, freetype, pkgconfig
|
|
, fontconfig
|
|
}:
|
|
|
|
let
|
|
version = "6.6.2";
|
|
in
|
|
stdenv.mkDerivation {
|
|
name = "swi-prolog-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.swi-prolog.org/download/stable/src/pl-${version}.tar.gz";
|
|
sha256 = "1kdnc1r5c4320v5s6axk6w0jnqbkza295hdi9s5kyd8r78v6x6g4";
|
|
};
|
|
|
|
buildInputs = [ gmp readline openssl libjpeg unixODBC libXinerama
|
|
libXft libXpm libSM libXt zlib freetype pkgconfig fontconfig ];
|
|
|
|
configureFlags = "--with-world --enable-gmp --enable-shared";
|
|
|
|
buildFlags = "world";
|
|
|
|
meta = {
|
|
homepage = http://www.swi-prolog.org/;
|
|
description = "A Prolog compiler and interpreter";
|
|
license = "LGPL";
|
|
|
|
hydraPlatforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
};
|
|
}
|