baguette-sharp: migrate to by-name

This commit is contained in:
Primrose 2025-05-20 17:08:57 +02:00
parent 4f91815f5f
commit c8aa9c7834
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 0 additions and 2 deletions

View file

@ -1,40 +0,0 @@
{
lib,
fetchFromGitHub,
fetchpatch,
ocaml,
ocamlPackages,
}:
ocamlPackages.buildDunePackage rec {
pname = "baguette_sharp";
version = "2.3.0";
minimalOCamlVersion = "4.13.1";
duneVersion = "3";
src = fetchFromGitHub {
owner = "vanilla-extracts";
repo = "ocaml-baguettesharp-interpreter";
rev = "v${version}";
hash = "sha256-GI60O6om71P3L+fGHGBCZ+U8vMlwPgYTWZCSCnEM0Wc=";
};
buildInputs = with ocamlPackages; [
fmt
linenoise
];
doCheck = lib.versionAtLeast ocaml.version "4.13.1";
patches = [
(fetchpatch {
name = "fix dune";
url = "https://github.com/vanilla-extracts/ocaml-baguettesharp-interpreter/commit/8809bc39a5e2cb02f757636f9939dc7818876779.patch";
hash = "sha256-j0C2T3ZZ3K2Xvvl0qH5zl0znTkiUR8PO9FlqqPUX2aw=";
})
];
meta = {
homepage = "https://github.com/vanilla-extracts/ocaml-baguettesharp-interpreter";
description = "OCaml Implementation of the (famous) Baguette# exotic language, used as TIPE for the 2022,2023 seasons concours";
license = lib.licenses.gpl3Plus;
};
}