nixpkgs/pkgs/by-name/st/stanc/package.nix
Alexis Hildebrandt f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00

39 lines
752 B
Nix

{
lib,
fetchFromGitHub,
ocamlPackages,
}:
ocamlPackages.buildDunePackage rec {
pname = "stanc";
version = "2.35.0";
minimalOCamlVersion = "4.12";
duneVersion = "3";
src = fetchFromGitHub {
owner = "stan-dev";
repo = "stanc3";
rev = "v${version}";
hash = "sha256-QN/yY4tn0U5yOE0FKkOvvEFXDaj5GDBdeqI2UqjVN2c=";
};
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;
};
}