summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/base32/default.nix
blob: 90af565bb035267839159b67302a9e0f3ba45166 (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
35
36
37
{
  lib,
  buildDunePackage,
  fetchFromCodeberg,
  nix-update-script,
  alcotest,
  qcheck,
  qcheck-alcotest,
}:

buildDunePackage (finalAttrs: {
  pname = "base32";
  version = "1.0.0";

  src = fetchFromCodeberg {
    owner = "pukkamustard";
    repo = "ocaml-base32";
    tag = "v${finalAttrs.version}";
    hash = "sha256-YREcrUF2EdNjO+8W4rNbELh+yH5DlLFsbeiEbtmjijE=";
  };

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

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Base32 for Ocaml";
    homepage = "https://codeberg.org/pukkamustard/ocaml-base32";
    license = lib.licenses.isc;
    maintainers = [ lib.maintainers.sempiternal-aurora ];
  };
})