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