nixpkgs/pkgs/development/interpreters/jimtcl/default.nix

38 lines
938 B
Nix
Raw Normal View History

2016-06-23 03:55:20 +01:00
{ stdenv, fetchFromGitHub, sqlite, readline, asciidoc, SDL, SDL_gfx }:
2014-09-09 12:18:58 +01:00
stdenv.mkDerivation {
2016-06-23 03:55:20 +01:00
name = "jimtcl-0.76";
2014-09-09 12:18:58 +01:00
2016-06-23 03:55:20 +01:00
src = fetchFromGitHub {
owner = "msteveb";
repo = "jimtcl";
rev = "51f65c6d38fbf86e1f0b036ad336761fd2ab7fa0";
sha256 = "00ldal1w9ysyfmx28xdcaz81vaazr1fqixxb2abk438yfpp1i9hq";
2014-09-09 12:18:58 +01:00
};
buildInputs = [
2016-06-23 03:55:20 +01:00
sqlite readline asciidoc SDL SDL_gfx
2014-09-09 12:18:58 +01:00
];
2016-09-01 09:26:10 +01:00
NIX_CFLAGS_COMPILE = [ "-I${SDL.dev}/include/SDL" ];
2014-09-09 12:18:58 +01:00
configureFlags = [
"--with-ext=oo"
"--with-ext=tree"
"--with-ext=binary"
"--with-ext=sqlite3"
2016-06-23 03:55:20 +01:00
"--with-ext=readline"
"--with-ext=sdl"
2014-09-09 12:18:58 +01:00
"--enable-utf8"
"--ipv6"
];
meta = {
description = "An open source small-footprint implementation of the Tcl programming language";
2014-09-09 12:18:58 +01:00
homepage = http://jim.tcl.tk/;
license = stdenv.lib.licenses.bsd2;
platforms = stdenv.lib.platforms.all;
2016-06-23 03:55:20 +01:00
maintainers = with stdenv.lib.maintainers; [ dbohdan vrthra ];
2014-09-09 12:18:58 +01:00
};
}