2020-05-29 06:06:01 +00:00
|
|
|
{ stdenv, buildDunePackage, fetchFromGitHub, fetchpatch
|
2020-04-24 23:36:52 +00:00
|
|
|
, ounit, async, base64, camlzip, cfstream
|
|
|
|
, core, ppx_jane, ppx_sexp_conv, rresult, uri, xmlm }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "biocaml";
|
2020-12-25 13:55:36 +00:00
|
|
|
version = "0.11.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-03 02:18:15 +00:00
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
minimumOCamlVersion = "4.08";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-11-03 02:18:15 +00:00
|
|
|
owner = "biocaml";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-12-25 13:55:36 +00:00
|
|
|
sha256 = "1il84vvypgkhdyc2j5fmgh14a58069s6ijbd5dvyl2i7jdxaazji";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ppx_jane ppx_sexp_conv ];
|
|
|
|
checkInputs = [ ounit ];
|
|
|
|
propagatedBuildInputs = [ async base64 camlzip cfstream core rresult uri xmlm ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Bioinformatics library for Ocaml";
|
|
|
|
homepage = "http://${pname}.org";
|
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|