diff options
author | Andrew Miloradovsky <miloradovsky@gmail.com> | 2017-04-15 08:02:28 +0000 |
---|---|---|
committer | Andrew Miloradovsky <miloradovsky@gmail.com> | 2017-04-17 01:03:14 +0000 |
commit | da9a147b7bf851644f8809fea99ae9b2f6b3cdeb (patch) | |
tree | d259ff0f72dedbd57919db551a8bb4f92644712d /pkgs/development/compilers/dale | |
parent | 76b8ce3023f49d3daf039a49f7779a3f58df1a5b (diff) |
dale: init at 20170416
Lisp-flavoured C. Dale is a system (no GC) programming language that uses S-expressions for syntax and supports syntactic macros.
Diffstat (limited to 'pkgs/development/compilers/dale')
-rw-r--r-- | pkgs/development/compilers/dale/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/compilers/dale/default.nix b/pkgs/development/compilers/dale/default.nix new file mode 100644 index 0000000000000..d1fb9b2124315 --- /dev/null +++ b/pkgs/development/compilers/dale/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchFromGitHub, cmake, libffi, llvm_35, perl }: + +let version = "20170416"; + doCheck = false; +in stdenv.mkDerivation { + name = "dale-${version}"; + + src = fetchFromGitHub { + owner = "tomhrr"; + repo = "dale"; + rev = "ecc5ea91efef8a263c7dddd6925983df5b5258b2"; + sha256 = "0naly7jsfriiqf68q210ay9ppcvidbwwcxksy5zwy1m17aq5kxaw"; + }; + + buildInputs = [ cmake libffi llvm_35 ] ++ + stdenv.lib.optional doCheck perl; + + inherit doCheck; + + checkTarget = "tests"; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + description = "Lisp-flavoured C"; + longDescription = '' + Dale is a system (no GC) programming language that uses + S-expressions for syntax and supports syntactic macros. + ''; + homepage = "https://github.com/tomhrr/dale"; + license = licenses.mit; + maintainers = with maintainers; [ amiloradovsky ]; + platforms = platforms.linux; # fails on Darwin, linking vs. FFI + }; +} |