1 { lib, stdenv, fetchurl, bigloo }:
3 # Compute the “release” version of bigloo (before the first dash, if any)
5 let inherit (lib) head splitString; in
6 head (splitString "-" (builtins.parseDrvName bigloo.name).version)
9 stdenv.mkDerivation rec {
13 url = "ftp://ftp-sop.inria.fr/indes/fp/Hop/hop-${version}.tar.gz";
14 sha256 = "sha256-GzXh4HC+SFFoUi7SMqu36iYRPAJ6tMnOHd+he6n9k1I=";
18 substituteInPlace configure --replace "(os-tmp)" '(getenv "TMPDIR")'
21 buildInputs = [ bigloo ];
24 "--bigloo=${bigloo}/bin/bigloo"
25 "--bigloolibdir=${bigloo}/lib/bigloo/${bigloo-release}/"
29 description = "A multi-tier programming language for the Web 2.0 and the so-called diffuse Web";
30 homepage = "http://hop.inria.fr/";
31 license = licenses.gpl2Plus;
32 platforms = platforms.linux;
33 maintainers = with maintainers; [ vbgl ];