mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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.
This commit is contained in:
parent
76b8ce3023
commit
da9a147b7b
2 changed files with 37 additions and 0 deletions
35
pkgs/development/compilers/dale/default.nix
Normal file
35
pkgs/development/compilers/dale/default.nix
Normal file
|
@ -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
|
||||
};
|
||||
}
|
|
@ -826,6 +826,8 @@ with pkgs;
|
|||
|
||||
daemontools = callPackage ../tools/admin/daemontools { };
|
||||
|
||||
dale = callPackage ../development/compilers/dale { };
|
||||
|
||||
dante = callPackage ../servers/dante { };
|
||||
|
||||
datamash = callPackage ../tools/misc/datamash { };
|
||||
|
|
Loading…
Reference in a new issue