mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
cyclone-scheme: init at 0.21
This commit is contained in:
parent
9ae60c8747
commit
e3b083effc
47
pkgs/development/interpreters/cyclone/default.nix
Normal file
47
pkgs/development/interpreters/cyclone/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
|||
{ stdenv, fetchFromGitHub, libck, darwin }:
|
||||
|
||||
let
|
||||
version = "0.21";
|
||||
bootstrap = stdenv.mkDerivation {
|
||||
pname = "cyclone-bootstrap";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "justinethier";
|
||||
repo = "cyclone-bootstrap";
|
||||
rev = "v${version}";
|
||||
sha256 = "0bb3a7x7vzmdyhm4nilm8bcn4q50pwqryggnxz21n16v6xakwjmr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.cctools ];
|
||||
|
||||
buildInputs = [ libck ];
|
||||
|
||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "cyclone";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "justinethier";
|
||||
repo = "cyclone";
|
||||
rev = "v${version}";
|
||||
sha256 = "1vb4yaprs2bwbxmxx2zkqvysxx8r9qww2q1nqkz8yps3ji715jw7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ bootstrap ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ darwin.cctools ];
|
||||
|
||||
buildInputs = [ libck ];
|
||||
|
||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://justinethier.github.io/cyclone/";
|
||||
description = "A brand-new compiler that allows practical application development using R7RS Scheme";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ siraben ];
|
||||
};
|
||||
}
|
|
@ -979,6 +979,8 @@ in
|
|||
|
||||
cue = callPackage ../development/tools/cue { };
|
||||
|
||||
cyclone-scheme = callPackage ../development/interpreters/cyclone { };
|
||||
|
||||
deltachat-electron = callPackage
|
||||
../applications/networking/instant-messengers/deltachat-electron { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue