summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/algaeff/default.nix
blob: 7190900057b1dd529fff2560055933a0ea3111c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  lib,
  buildDunePackage,
  fetchFromGitHub,
  alcotest,
  qcheck-core,
}:

buildDunePackage (finalAttrs: {
  pname = "algaeff";
  version = "2.0.0";

  minimalOCamlVersion = "5.0";

  src = fetchFromGitHub {
    owner = "RedPRL";
    repo = "algaeff";
    rev = finalAttrs.version;
    hash = "sha256-VRZfULbXKRcExU1bnEu/X1KPX+L+dzcRYZVD985rQT4=";
  };

  doCheck = true;
  checkInputs = [
    alcotest
    qcheck-core
  ];

  meta = {
    description = "Reusable Effects-Based Components";
    homepage = "https://github.com/RedPRL/algaeff";
    license = lib.licenses.asl20;
    maintainers = [ lib.maintainers.vbgl ];
  };
})