1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5}:
6
7buildDunePackage rec {
8 pname = "semaphore-compat";
9 version = "1.0.2";
10
11 src = fetchurl {
12 url = "https://github.com/mirage/semaphore-compat/releases/download/${version}/semaphore-compat-${version}.tbz";
13 sha256 = "sha256-4CnZ2vX17IPpnlA7CNeuxZEKfA5HFoeQvwH0tCKNRnY=";
14 };
15
16 useDune2 = true;
17
18 meta = with lib; {
19 description = "Compatibility Semaphore module";
20 homepage = "https://github.com/mirage/semaphore-compat";
21 license = with licenses; [
22 lgpl21Plus
23 ocamlLgplLinkingException
24 ];
25 maintainers = [ maintainers.sternenseemann ];
26 };
27}