mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Added WebDSL
svn path=/nixpkgs/trunk/; revision=10375
This commit is contained in:
parent
28ab0dd501
commit
d3b73db40b
3 changed files with 29 additions and 0 deletions
8
pkgs/development/compilers/webdsl/builder.sh
Normal file
8
pkgs/development/compilers/webdsl/builder.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
source $stdenv/setup
|
||||
|
||||
configureFlags="--with-aterm=$aterm --with-sdf=$sdf --with-strategoxt=$strategoxt"
|
||||
genericBuild
|
||||
|
||||
# Replace /bin/bash in WebDSL script (maybe there is a better solution?)
|
||||
|
||||
sed -i -e "s|#!/bin/bash|#!/bin/sh|" $out/bin/webdsl
|
14
pkgs/development/compilers/webdsl/default.nix
Normal file
14
pkgs/development/compilers/webdsl/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{stdenv, fetchurl, aterm, sdf, strategoxt, pkgconfig, javafront}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "webdsl-7.12pre876";
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://buildfarm.st.ewi.tudelft.nl/releases/strategoxt/webdsl-7.12pre876-g60njq3p/webdsl-7.12pre876.tar.gz;
|
||||
md5 = "7cd8709b02e03da74d90f8f8388e8d01";
|
||||
};
|
||||
|
||||
inherit aterm sdf strategoxt javafront;
|
||||
buildInputs = [pkgconfig aterm sdf strategoxt javafront];
|
||||
}
|
|
@ -1283,6 +1283,13 @@ rec {
|
|||
inherit fetchurl stdenv cabextract;
|
||||
};
|
||||
|
||||
webdsl = import ../development/compilers/webdsl {
|
||||
inherit stdenv fetchurl pkgconfig javafront;
|
||||
aterm = aterm25;
|
||||
sdf = sdf24;
|
||||
strategoxt = strategoxt017;
|
||||
};
|
||||
|
||||
win32hello = import ../development/compilers/visual-c++/test {
|
||||
inherit fetchurl stdenv visualcpp windowssdk;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue