git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.ocaml-version: init at 2.3.0
commitb5e82ad23967c349f99a222df10040c8f5f8fb64 authorVincent Laporte <Vincent.Laporte@gmail.com> dateSat 7 Dec 2019, 06:54 (7 years ago) parent5746e9f
2 files changed+24
pkgs/development/ocaml-modules/ocaml-version/default.nix+22 pkgs/top-level/ocaml-packages.nix+2
pkgs/development/ocaml-modules/ocaml-version/default.nixnew file+22
@@ -0,0 +1,22 @@
1+{ lib, fetchurl, buildDunePackage, result }:
2+
3+buildDunePackage rec {
4+
5+ pname = "ocaml-version";
6+ version = "2.3.0";
7+
8+ src = fetchurl {
9+ url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-v${version}.tbz";
10+ sha256 = "0c711lifl35xila9k0rvhijy9zm3shd37q3jgw7xf01hn1swg0hn";
11+ };
12+
13+ propagatedBuildInputs = [ result ];
14+
15+ meta = {
16+ description = "Manipulate, parse and generate OCaml compiler version strings";
17+ homepage = "https://github.com/ocurrent/ocaml-version";
18+ license = lib.licenses.isc;
19+ maintainers = [ lib.maintainers.vbgl ];
20+ };
21+
22+}
pkgs/top-level/ocaml-packages.nix+2
@@ -585,6 +585,8 @@ let
585585
586586 ocaml_text = callPackage ../development/ocaml-modules/ocaml-text { };
587587
588+ ocaml-version = callPackage ../development/ocaml-modules/ocaml-version { };
589+
588590 ocf = callPackage ../development/ocaml-modules/ocf { };
589591
590592 ocp-build = callPackage ../development/tools/ocaml/ocp-build { };