mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
5380bb424c
ocamlPackages.base_quickcheck: 0.12.0 → 0.12.1 ocamlPackages.janeStreet_0_12: use Dune 3
21 lines
478 B
Nix
21 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;
|
|
})
|