summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/semaphore-compat/default.nix
blob: cafa646e5b72d6acb19e968b5c627174abedd957 (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
{
  lib,
  buildDunePackage,
  fetchurl,
}:

buildDunePackage (finalAttrs: {
  pname = "semaphore-compat";
  version = "1.0.2";

  src = fetchurl {
    url = "https://github.com/mirage/semaphore-compat/releases/download/${finalAttrs.version}/semaphore-compat-${finalAttrs.version}.tbz";
    hash = "sha256-4CnZ2vX17IPpnlA7CNeuxZEKfA5HFoeQvwH0tCKNRnY=";
  };

  meta = {
    description = "Compatibility Semaphore module";
    homepage = "https://github.com/mirage/semaphore-compat";
    license = with lib.licenses; [
      lgpl21Plus
      ocamlLgplLinkingException
    ];
    maintainers = [ lib.maintainers.sternenseemann ];
  };
})