2020-09-27 17:12:13 +02:00
|
|
|
{ lib, fetchurl, buildDunePackage }:
|
2019-12-07 07:54:43 +01:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ocaml-version";
|
2021-06-06 00:59:32 +02:00
|
|
|
version = "3.1.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";
|
2021-06-06 00:59:32 +02:00
|
|
|
sha256 = "sha256-rHuhagnY9yISdC85NpgPv667aYx7v2JRgq99ayw83l8=";
|
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
|
|
|
};
|
|
|
|
}
|