2020-09-27 17:12:13 +02:00
|
|
|
{ lib, fetchurl, buildDunePackage }:
|
2019-12-07 07:54:43 +01:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ocaml-version";
|
2022-01-03 10:02:28 +01:00
|
|
|
version = "3.4.0";
|
2021-03-28 17:47:05 +02:00
|
|
|
|
2019-12-07 07:54:43 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-v${version}.tbz";
|
2022-01-03 10:02:28 +01:00
|
|
|
sha256 = "sha256-2MG+tejY67dxC19DTOZqPsi3UrHk1rqHxP4nRSvbiiU=";
|
2019-12-07 07:54:43 +01:00
|
|
|
};
|
|
|
|
|
2021-06-06 00:59:32 +02:00
|
|
|
minimumOCamlVersion = "4.07";
|
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2019-12-07 07:54:43 +01:00
|
|
|
description = "Manipulate, parse and generate OCaml compiler version strings";
|
|
|
|
homepage = "https://github.com/ocurrent/ocaml-version";
|
2021-06-06 00:59:32 +02:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
2019-12-07 07:54:43 +01:00
|
|
|
};
|
|
|
|
}
|