2021-01-11 13:14:57 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, fetchpatch
|
2019-11-25 15:53:58 +00:00
|
|
|
, ounit, async, base64, camlzip, cfstream
|
|
|
|
, core, ppx_jane, ppx_sexp_conv, rresult, uri, xmlm }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "biocaml";
|
2020-12-08 20:50:14 +00:00
|
|
|
version = "0.11.1";
|
2019-11-25 15:53:58 +00:00
|
|
|
|
2020-10-29 05:24:51 +00:00
|
|
|
useDune2 = true;
|
2019-11-25 15:53:58 +00:00
|
|
|
|
2020-12-08 20:50:14 +00:00
|
|
|
minimumOCamlVersion = "4.08";
|
2019-11-25 15:53:58 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-10-29 05:24:51 +00:00
|
|
|
owner = "biocaml";
|
2019-11-25 15:53:58 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-12-08 20:50:14 +00:00
|
|
|
sha256 = "1il84vvypgkhdyc2j5fmgh14a58069s6ijbd5dvyl2i7jdxaazji";
|
2019-11-25 15:53:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ppx_jane ppx_sexp_conv ];
|
|
|
|
checkInputs = [ ounit ];
|
|
|
|
propagatedBuildInputs = [ async base64 camlzip cfstream core rresult uri xmlm ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-11-25 15:53:58 +00:00
|
|
|
description = "Bioinformatics library for Ocaml";
|
2020-01-30 22:05:33 +00:00
|
|
|
homepage = "http://${pname}.org";
|
2019-11-25 15:53:58 +00:00
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|