From c647ca8180326f6c8687a6b1d7fde6bda8657184 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 26 Jun 2018 06:24:37 +0000 Subject: [PATCH] ocamlPackages.cmdliner: remove at 0.9.8 --- .../ocaml-modules/cmdliner/0.9.nix | 34 ------------------- pkgs/top-level/ocaml-packages.nix | 2 -- 2 files changed, 36 deletions(-) delete mode 100644 pkgs/development/ocaml-modules/cmdliner/0.9.nix diff --git a/pkgs/development/ocaml-modules/cmdliner/0.9.nix b/pkgs/development/ocaml-modules/cmdliner/0.9.nix deleted file mode 100644 index 345d56d2170..00000000000 --- a/pkgs/development/ocaml-modules/cmdliner/0.9.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opaline }: - -let - pname = "cmdliner"; -in - -assert stdenv.lib.versionAtLeast ocaml.version "3.12"; - -stdenv.mkDerivation rec { - - name = "ocaml-${pname}-${version}"; - version = "0.9.8"; - - src = fetchurl { - url = "http://erratique.ch/software/${pname}/releases/${pname}-${version}.tbz"; - sha256 = "0hdxlkgiwjml9dpaa80282a8350if7mc1m6yz2mrd7gci3fszykx"; - }; - - unpackCmd = "tar xjf $src"; - nativeBuildInputs = [ ocamlbuild opaline ]; - buildInputs = [ ocaml findlib ]; - - configurePhase = "ocaml pkg/git.ml"; - buildPhase = "ocaml pkg/build.ml native=true native-dynlink=true"; - installPhase = "opaline -libdir $OCAMLFIND_DESTDIR"; - - meta = with stdenv.lib; { - homepage = http://erratique.ch/software/cmdliner; - description = "An OCaml module for the declarative definition of command line interfaces"; - license = licenses.bsd3; - platforms = ocaml.meta.platforms or []; - maintainers = [ maintainers.vbgl ]; - }; -} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 88aa7df6372..87e1cf907f5 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -139,8 +139,6 @@ let cil = callPackage ../development/ocaml-modules/cil { }; - cmdliner_0_9 = callPackage ../development/ocaml-modules/cmdliner/0.9.nix { }; - cmdliner = callPackage ../development/ocaml-modules/cmdliner { }; cohttp_p4 = callPackage ../development/ocaml-modules/cohttp/0.19.3.nix {