Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchFromGitHub, fetchpatch
2, ounit, async, base64, camlzip, cfstream
3, core, ppx_jane, ppx_sexp_conv, rresult, uri, xmlm
4}:
5
6buildDunePackage rec {
7 pname = "biocaml";
8 version = "0.11.2";
9
10 minimalOCamlVersion = "4.11";
11 duneVersion = "3";
12
13 src = fetchFromGitHub {
14 owner = "biocaml";
15 repo = pname;
16 rev = "v${version}";
17 sha256 = "01yw12yixs45ya1scpb9jy2f7dw1mbj7741xib2xpq3kkc1hc21s";
18 };
19
20 patches = fetchpatch {
21 url = "https://github.com/biocaml/biocaml/commit/3ef74d0eb4bb48d2fb7dd8b66fb3ad8fe0aa4d78.patch";
22 sha256 = "0rcvf8gwq7sz15mghl9ing722rl2zpnqif9dfxrnpdxiv0rl0731";
23 };
24
25 buildInputs = [ ppx_jane ppx_sexp_conv ];
26 checkInputs = [ ounit ];
27 propagatedBuildInputs = [ async base64 camlzip cfstream core rresult uri xmlm ];
28
29 meta = with lib; {
30 description = "Bioinformatics library for Ocaml";
31 homepage = "http://${pname}.org";
32 maintainers = [ maintainers.bcdarwin ];
33 license = licenses.gpl2;
34 };
35}