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