1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5 alcotest,
6 qcheck-core,
7}:
8
9buildDunePackage rec {
10 pname = "algaeff";
11 version = "2.0.0";
12
13 minimalOCamlVersion = "5.0";
14
15 src = fetchFromGitHub {
16 owner = "RedPRL";
17 repo = pname;
18 rev = version;
19 hash = "sha256-VRZfULbXKRcExU1bnEu/X1KPX+L+dzcRYZVD985rQT4=";
20 };
21
22 doCheck = true;
23 checkInputs = [
24 alcotest
25 qcheck-core
26 ];
27
28 meta = {
29 description = "Reusable Effects-Based Components";
30 homepage = "https://github.com/RedPRL/algaeff";
31 license = lib.licenses.asl20;
32 maintainers = [ lib.maintainers.vbgl ];
33 };
34}