Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
59 lines
1.3 KiB
Nix
59 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
libck,
|
|
cctools,
|
|
}:
|
|
|
|
let
|
|
version = "0.36.0";
|
|
bootstrap = stdenv.mkDerivation {
|
|
pname = "cyclone-bootstrap";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "justinethier";
|
|
repo = "cyclone-bootstrap";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-8WK4rsLK3gi9a6PKFaT3KRK256rEDTTO6QvqYrOtYDs=";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ cctools ];
|
|
|
|
buildInputs = [ libck ];
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
};
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = "cyclone";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "justinethier";
|
|
repo = "cyclone";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-5h8jZ8EBgiLLYH/j3p7CqsQGXHhjGtQfOnxPbFnT5WM=";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [ bootstrap ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools ];
|
|
|
|
buildInputs = [ libck ];
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
meta = {
|
|
homepage = "https://justinethier.github.io/cyclone/";
|
|
description = "Brand-new compiler that allows practical application development using R7RS Scheme";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ siraben ];
|
|
platforms = lib.platforms.unix;
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
}
|