nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage_0_12.nix
Vincent Laporte 5380bb424c
ocamlPackages.result: use Dune 3
ocamlPackages.base_quickcheck: 0.12.0 → 0.12.1

ocamlPackages.janeStreet_0_12: use Dune 3
2024-04-11 09:43:35 +02:00

22 lines
478 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, defaultVersion ? "0.12.0" }:
{ pname, version ? defaultVersion, duneVersion ? "3", hash, ...}@args:
buildDunePackage (args // {
inherit version duneVersion;
minimalOCamlVersion = "4.07";
src = fetchFromGitHub {
owner = "janestreet";
repo = pname;
rev = "v${version}";
sha256 = hash;
};
meta = {
license = lib.licenses.mit;
homepage = "https://github.com/janestreet/${pname}";
} // args.meta;
})