summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/biocaml/default.nix
blob: 4f97594fb7c0661eb27e77951f147b5ebb30d4ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, buildDunePackage, fetchFromGitHub
, ounit, async, base64, camlzip, cfstream
, core, ppx_jane, ppx_sexp_conv, rresult, uri, xmlm }:

buildDunePackage rec {
  pname = "biocaml";
  version = "0.10.0";

  owner = "biocaml";

  minimumOCamlVersion = "4.07";

  src = fetchFromGitHub {
    inherit owner;
    repo   = pname;
    rev    = "v${version}";
    sha256 = "0dghqx6jbzihmga8jjwwavs0wqksgcns4z1nmwj0ds9ik3mcra30";
  };

  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://${owner}.github.io/${pname}";
    maintainers = [ maintainers.bcdarwin ];
    license = licenses.gpl2;
  };
}