Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / biocaml / default.nix
blob5fa482acc6d400d2ec55a31069ce9200cbafc66b
1 { lib, buildDunePackage, fetchFromGitHub, fetchpatch
2 , ounit, async, base64, camlzip, cfstream
3 , core, ppx_jane, ppx_sexp_conv, rresult, uri, xmlm
4 }:
6 buildDunePackage rec {
7   pname = "biocaml";
8   version = "0.11.2";
10   minimalOCamlVersion = "4.11";
11   duneVersion = "3";
13   src = fetchFromGitHub {
14     owner = "biocaml";
15     repo = pname;
16     rev = "v${version}";
17     sha256 = "01yw12yixs45ya1scpb9jy2f7dw1mbj7741xib2xpq3kkc1hc21s";
18   };
20   patches = fetchpatch {
21     url = "https://github.com/biocaml/biocaml/commit/3ef74d0eb4bb48d2fb7dd8b66fb3ad8fe0aa4d78.patch";
22     sha256 = "0rcvf8gwq7sz15mghl9ing722rl2zpnqif9dfxrnpdxiv0rl0731";
23   };
25   buildInputs = [ ppx_jane ppx_sexp_conv ];
26   checkInputs = [ ounit ];
27   propagatedBuildInputs = [ async base64 camlzip cfstream core rresult uri xmlm ];
29   meta = with lib; {
30     description = "Bioinformatics library for Ocaml";
31     homepage = "http://${pname}.org";
32     maintainers = [ maintainers.bcdarwin ];
33     license = licenses.gpl2;
34   };