ocamlPackages.phylogenetics: unstable-2022-05-06 → 0.2.0
This commit is contained in:
parent
15526d81c5
commit
b377e019ca
|
@ -1,32 +1,27 @@
|
||||||
{ lib
|
{ lib
|
||||||
, ocaml
|
|
||||||
, buildDunePackage
|
, buildDunePackage
|
||||||
, fetchFromGitHub
|
, fetchurl
|
||||||
, ppx_deriving
|
, ppx_deriving
|
||||||
, bppsuite
|
, bppsuite
|
||||||
, alcotest
|
, alcotest
|
||||||
, angstrom-unix
|
, angstrom-unix
|
||||||
, biocaml
|
, biotk
|
||||||
, core
|
, core
|
||||||
, gsl
|
, gsl
|
||||||
, lacaml
|
, lacaml
|
||||||
, menhir
|
, menhir
|
||||||
, menhirLib
|
, menhirLib
|
||||||
, printbox-text
|
, printbox-text
|
||||||
|
, yojson
|
||||||
}:
|
}:
|
||||||
|
|
||||||
lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
|
|
||||||
"phylogenetics is not compatible with OCaml ${ocaml.version}"
|
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "phylogenetics";
|
pname = "phylogenetics";
|
||||||
version = "unstable-2022-05-06";
|
version = "0.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchurl {
|
||||||
owner = "biocaml";
|
url = "https://github.com/biocaml/phylogenetics/releases/download/v${version}/phylogenetics-${version}.tbz";
|
||||||
repo = pname;
|
hash = "sha256-JFpYp3pyW7PrBjqCwwDZxkJPA84dp6Qs8rOPvHPY92o=";
|
||||||
rev = "cd7c624d0f98e31b02933ca4511b9809b26d35b5";
|
|
||||||
sha256 = "sha256:0w0xyah3hj05hxg1rsa40hhma3dm1cyq0zvnjrihhf22laxap7ga";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
minimalOCamlVersion = "4.08";
|
minimalOCamlVersion = "4.08";
|
||||||
|
@ -36,13 +31,14 @@ buildDunePackage rec {
|
||||||
nativeBuildInputs = [ menhir ];
|
nativeBuildInputs = [ menhir ];
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
angstrom-unix
|
angstrom-unix
|
||||||
biocaml
|
biotk
|
||||||
core
|
core
|
||||||
gsl
|
gsl
|
||||||
lacaml
|
lacaml
|
||||||
menhirLib
|
menhirLib
|
||||||
ppx_deriving
|
ppx_deriving
|
||||||
printbox-text
|
printbox-text
|
||||||
|
yojson
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
|
|
@ -835,7 +835,6 @@ let
|
||||||
phylogenetics = let
|
phylogenetics = let
|
||||||
angstrom = self.angstrom.override { inherit ppx_let; };
|
angstrom = self.angstrom.override { inherit ppx_let; };
|
||||||
in callPackage ../development/ocaml-modules/phylogenetics {
|
in callPackage ../development/ocaml-modules/phylogenetics {
|
||||||
inherit biocaml;
|
|
||||||
ppx_deriving = self.ppx_deriving.override { inherit (jsDeps) ppxlib; };
|
ppx_deriving = self.ppx_deriving.override { inherit (jsDeps) ppxlib; };
|
||||||
angstrom-unix = self.angstrom-unix.override { inherit angstrom; };
|
angstrom-unix = self.angstrom-unix.override { inherit angstrom; };
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user