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
39 lines
752 B
Nix
39 lines
752 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
ocamlPackages,
|
|
}:
|
|
|
|
ocamlPackages.buildDunePackage rec {
|
|
pname = "stanc";
|
|
version = "2.36.0";
|
|
|
|
minimalOCamlVersion = "4.12";
|
|
duneVersion = "3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stan-dev";
|
|
repo = "stanc3";
|
|
rev = "v${version}";
|
|
hash = "sha256-IrpHV00Fn3Nxail4Xgv/8ezclKpyVuQa1F34kF07wwA=";
|
|
};
|
|
|
|
nativeBuildInputs = with ocamlPackages; [ menhir ];
|
|
|
|
buildInputs = with ocamlPackages; [
|
|
core_unix
|
|
menhirLib
|
|
ppx_deriving
|
|
fmt
|
|
yojson
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/stan-dev/stanc3";
|
|
description = "Stan compiler and utilities";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ wegank ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|