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