mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
ocamlPackages.cascade: init at 0-unstable-2026-06-26
(cherry picked from commit a7f2fc98cf)
This commit is contained in:
parent
0362fecd69
commit
8d4ea8c9ec
2 changed files with 54 additions and 0 deletions
52
pkgs/development/ocaml-modules/cascade/default.nix
Normal file
52
pkgs/development/ocaml-modules/cascade/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
|
|
@ -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 { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue