about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage_0_13.nix
blob: b92bcead95c3eb1c13a265f76a4d461358a95822 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ 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}";
})