ocamlPackages.cascade: init at 0-unstable-2026-06-26

(cherry picked from commit a7f2fc98cf)
This commit is contained in:
Volker Diels-Grabsch 2026-06-30 11:42:25 +02:00
commit 8d4ea8c9ec
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,52 @@
{
alcobar,
buildDunePackage,
dune-build-info,
fetchFromGitHub,
lambdasoup,
lib,
logs,
mdx,
memtrace,
psq,
uutf,
}:
buildDunePackage (finalAttrs: {
pname = "cascade";
version = "0-unstable-2026-06-26";
minimalOCamlVersion = "5.2";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "samoht";
repo = "cascade";
rev = "434c07be7ec1a63213a234946d57937e4d080feb";
hash = "sha256-6g8UKsXdR0PxihrOiMVC36q7+bomMByPDbmuISL7h4U=";
};
propagatedBuildInputs = [
dune-build-info
logs
psq
uutf
];
buildInputs = [
lambdasoup
memtrace
];
nativeCheckInputs = [ mdx.bin ];
checkInputs = [
(mdx.override { inherit logs; })
alcobar
];
doCheck = true;
meta = {
description = "CSS generation and manipulation library for OCaml";
homepage = "https://github.com/samoht/cascade";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vog ];
};
})

View file

@ -243,6 +243,8 @@ let
git-binary = pkgs.git;
};
cascade = callPackage ../development/ocaml-modules/cascade { };
cbor = callPackage ../development/ocaml-modules/cbor { };
cfstream = callPackage ../development/ocaml-modules/cfstream { };