nixpkgs/pkgs/development/ocaml-modules/biocaml/default.nix

31 lines
791 B
Nix
Raw Normal View History

{ 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";
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
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}";
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 ];
meta = with lib; {
2019-11-25 15:53:58 +00:00
description = "Bioinformatics library for Ocaml";
homepage = "http://${pname}.org";
2019-11-25 15:53:58 +00:00
maintainers = [ maintainers.bcdarwin ];
license = licenses.gpl2;
};
}