2020-09-27 16:12:13 +01:00
|
|
|
{ lib, fetchurl, buildDunePackage }:
|
2019-12-07 06:54:43 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
|
|
|
|
pname = "ocaml-version";
|
2020-09-27 16:12:13 +01:00
|
|
|
version = "3.0.0";
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.07";
|
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";
|
2020-09-27 16:12:13 +01:00
|
|
|
sha256 = "15vk8sh50p3f2mbv8z7mqnx76cffri36f2krp25zkkwix8jg7ci4";
|
2019-12-07 06:54:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Manipulate, parse and generate OCaml compiler version strings";
|
|
|
|
homepage = "https://github.com/ocurrent/ocaml-version";
|
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|