Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 73 lines 1.3 kB view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4 5, asciidoc 6, pkg-config 7, inetutils 8 9, sqlite 10, readline 11, SDL 12, SDL_gfx 13, openssl 14}: 15 16stdenv.mkDerivation rec { 17 pname = "jimtcl"; 18 version = "0.82"; 19 20 src = fetchFromGitHub { 21 owner = "msteveb"; 22 repo = "jimtcl"; 23 rev = version; 24 sha256 = "sha256-CDjjrxpoTbLESAbCiCjQ8+E/oJP87gDv9SedQOzH3QY="; 25 }; 26 27 nativeBuildInputs = [ 28 pkg-config 29 asciidoc 30 ]; 31 32 buildInputs = [ 33 sqlite 34 readline 35 SDL 36 SDL_gfx 37 openssl 38 ]; 39 40 configureFlags = [ 41 "--shared" 42 "--with-ext=oo" 43 "--with-ext=tree" 44 "--with-ext=binary" 45 "--with-ext=sqlite3" 46 "--with-ext=readline" 47 "--with-ext=sdl" 48 "--with-ext=json" 49 "--enable-utf8" 50 "--ipv6" 51 ]; 52 53 enableParallelBuilding = true; 54 55 doCheck = true; 56 preCheck = '' 57 # test exec2-3.2 fails depending on platform or sandboxing (?) 58 rm tests/exec2.test 59 # requires internet access 60 rm tests/ssl.test 61 ''; 62 63 # test posix-1.6 needs the "hostname" command 64 nativeCheckInputs = [ inetutils ]; 65 66 meta = { 67 description = "An open source small-footprint implementation of the Tcl programming language"; 68 homepage = "http://jim.tcl.tk/"; 69 license = lib.licenses.bsd2; 70 platforms = lib.platforms.all; 71 maintainers = with lib.maintainers; [ dbohdan fgaz vrthra ]; 72 }; 73}