about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ocaml-version/default.nix
blob: aeb9c9dc699caa7b34de5b715c38225effdb8112 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, fetchurl, buildDunePackage }:

buildDunePackage rec {
  pname = "ocaml-version";
  version = "3.4.0";

  src = fetchurl {
    url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-v${version}.tbz";
    sha256 = "sha256-2MG+tejY67dxC19DTOZqPsi3UrHk1rqHxP4nRSvbiiU=";
  };

  minimumOCamlVersion = "4.07";
  useDune2 = true;

  meta = with lib; {
    description = "Manipulate, parse and generate OCaml compiler version strings";
    homepage = "https://github.com/ocurrent/ocaml-version";
    license = licenses.isc;
    maintainers = with maintainers; [ vbgl ];
  };
}