ocamlPackages.ocaml-version: init at 2.3.0

This commit is contained in:
Vincent Laporte 2019-12-07 06:54:43 +00:00 committed by Vincent Laporte
parent 5746e9fd91
commit b5e82ad239
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ lib, fetchurl, buildDunePackage, result }:
buildDunePackage rec {
pname = "ocaml-version";
version = "2.3.0";
src = fetchurl {
url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-v${version}.tbz";
sha256 = "0c711lifl35xila9k0rvhijy9zm3shd37q3jgw7xf01hn1swg0hn";
};
propagatedBuildInputs = [ result ];
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 ];
};
}

View file

@ -585,6 +585,8 @@ let
ocaml_text = callPackage ../development/ocaml-modules/ocaml-text { };
ocaml-version = callPackage ../development/ocaml-modules/ocaml-version { };
ocf = callPackage ../development/ocaml-modules/ocf { };
ocp-build = callPackage ../development/tools/ocaml/ocp-build { };