Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5 re,
6}:
7
8buildDunePackage rec {
9 pname = "duppy";
10 version = "0.9.5";
11
12 minimalOCamlVersion = "4.07";
13
14 src = fetchFromGitHub {
15 owner = "savonet";
16 repo = "ocaml-duppy";
17 rev = "v${version}";
18 sha256 = "sha256-hWR7utYMxMjz8Cw0j6cgoHlUj4Jc7Q4vJHD5kGHN4Rc=";
19 };
20
21 propagatedBuildInputs = [ re ];
22
23 meta = with lib; {
24 homepage = "https://github.com/savonet/ocaml-duppy";
25 description = "Library providing monadic threads";
26 license = licenses.lgpl21Only;
27 maintainers = with maintainers; [ dandellion ];
28 };
29}