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 = "0bb3a7x7vzmdyhm4nilm8bcn4q50pwqryggnxz21n16v6xakwjmr";
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 = "1vb4yaprs2bwbxmxx2zkqvysxx8r9qww2q1nqkz8yps3ji715jw7";
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 ];