1 { lib, stdenv, fetchFromGitHub, libck, darwin }:
5 bootstrap = stdenv.mkDerivation {
6 pname = "cyclone-bootstrap";
9 src = fetchFromGitHub {
10 owner = "justinethier";
11 repo = "cyclone-bootstrap";
13 sha256 = "sha256-kJBPb0Ej32HveY/vdGpH2gyxSwq8Xq7muneFIw3Y7hM=";
16 enableParallelBuilding = true;
18 nativeBuildInputs = lib.optionals stdenv.isDarwin [ darwin.cctools ];
20 buildInputs = [ libck ];
22 makeFlags = [ "PREFIX=${placeholder "out"}" ];
29 src = fetchFromGitHub {
30 owner = "justinethier";
33 sha256 = "sha256-4U/uOTbFpPTC9BmO6Wkhy4PY8UCFVt5eHSGqrOlKT/U=";
36 enableParallelBuilding = true;
38 nativeBuildInputs = [ bootstrap ]
39 ++ lib.optionals stdenv.isDarwin [ darwin.cctools ];
41 buildInputs = [ libck ];
43 makeFlags = [ "PREFIX=${placeholder "out"}" ];
46 homepage = "https://justinethier.github.io/cyclone/";
47 description = "A brand-new compiler that allows practical application development using R7RS Scheme";
48 license = licenses.mit;
49 maintainers = with maintainers; [ siraben ];