3e7a2b9147
ocamlPackages.bistro: fix for core-0.13 ocamlPackages.phylogenetics: 2020-01-05 → 2020-01-25
19 lines
424 B
Nix
19 lines
424 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, defaultVersion ? "0.13.0" }:
|
|
|
|
{ pname, version ? defaultVersion, hash, ...}@args:
|
|
|
|
buildDunePackage (args // {
|
|
inherit version;
|
|
|
|
minimumOCamlVersion = "4.08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "janestreet";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = hash;
|
|
};
|
|
|
|
meta.license = lib.licenses.mit;
|
|
meta.homepage = "https://github.com/janestreet/${pname}";
|
|
})
|