2021-01-15 22:18:51 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, fetchpatch
|
2020-04-24 23:36:52 +00:00
|
|
|
, ounit, async, base64, camlzip, cfstream
|
2023-02-09 11:40:11 +00:00
|
|
|
, core, ppx_jane, ppx_sexp_conv, rresult, uri, xmlm
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "biocaml";
|
2022-07-18 16:21:45 +00:00
|
|
|
version = "0.11.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
minimalOCamlVersion = "4.11";
|
2023-02-16 17:41:37 +00:00
|
|
|
duneVersion = "3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-11-03 02:18:15 +00:00
|
|
|
owner = "biocaml";
|
2023-02-09 11:40:11 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-07-18 16:21:45 +00:00
|
|
|
sha256 = "01yw12yixs45ya1scpb9jy2f7dw1mbj7741xib2xpq3kkc1hc21s";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = fetchpatch {
|
|
|
|
url = "https://github.com/biocaml/biocaml/commit/3ef74d0eb4bb48d2fb7dd8b66fb3ad8fe0aa4d78.patch";
|
|
|
|
sha256 = "0rcvf8gwq7sz15mghl9ing722rl2zpnqif9dfxrnpdxiv0rl0731";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ppx_jane ppx_sexp_conv ];
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ ounit ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ async base64 camlzip cfstream core rresult uri xmlm ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Bioinformatics library for Ocaml";
|
|
|
|
homepage = "http://${pname}.org";
|
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|