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

35 lines
909 B
Nix
Raw Normal View History

2014-01-13 17:10:11 +01:00
{ stdenv, fetchurl, gmp, readline, openssl, libjpeg, unixODBC, zlib
, libXinerama, libXft, libXpm, libSM, libXt, freetype, pkgconfig
, fontconfig
}:
let
2016-09-15 06:31:23 +02:00
version = "7.2.3";
in
stdenv.mkDerivation {
name = "swi-prolog-${version}";
src = fetchurl {
2016-09-15 06:31:23 +02:00
url = "http://www.swi-prolog.org/download/stable/src/swipl-${version}.tar.gz";
sha256 = "1da6sr8pz1zffs79nfa1d25a11ibhalm1vdwsb17p265nx8psra3";
};
2014-01-13 17:10:11 +01:00
buildInputs = [ gmp readline openssl libjpeg unixODBC libXinerama
libXft libXpm libSM libXt zlib freetype pkgconfig fontconfig ];
hardeningDisable = [ "format" ];
2016-02-24 18:10:58 +01:00
configureFlags = "--with-world --enable-gmp --enable-shared";
2014-01-13 17:10:11 +01:00
buildFlags = "world";
meta = {
homepage = http://www.swi-prolog.org/;
description = "A Prolog compiler and interpreter";
license = "LGPL";
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.peti ];
};
}