fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ lib, stdenv, fetchurl, bigloo }:
2
3# Compute the “release” version of bigloo (before the first dash, if any)
4let bigloo-release =
5 let inherit (lib) head splitString; in
6 head (splitString "-" (builtins.parseDrvName bigloo.name).version)
7; in
8
9stdenv.mkDerivation rec {
10 pname = "hop";
11 version = "3.4.4";
12 src = fetchurl {
13 url = "ftp://ftp-sop.inria.fr/indes/fp/Hop/hop-${version}.tar.gz";
14 sha256 = "sha256-GzXh4HC+SFFoUi7SMqu36iYRPAJ6tMnOHd+he6n9k1I=";
15 };
16
17 postPatch = ''
18 substituteInPlace configure --replace "(os-tmp)" '(getenv "TMPDIR")'
19 '';
20
21 buildInputs = [ bigloo ];
22
23 configureFlags = [
24 "--bigloo=${bigloo}/bin/bigloo"
25 "--bigloolibdir=${bigloo}/lib/bigloo/${bigloo-release}/"
26 ];
27
28 meta = with lib; {
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 ];
34 };
35}