nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage_0_13.nix
Vincent Laporte 3e7a2b9147 ocamlPackages.janeStreet: 0.12 → 0.13
ocamlPackages.bistro: fix for core-0.13
ocamlPackages.phylogenetics: 2020-01-05 → 2020-01-25
2020-04-20 08:38:31 +02:00

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}";
})