From 1c1b91861a5f66dbd7b3ddb0691de23e4c10827d Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 16 Jan 2022 11:00:42 +0100 Subject: [PATCH] ocamlPackages.gtktop: remove at 2.0 --- .../ocaml-modules/gtktop/default.nix | 29 ------------------- pkgs/top-level/ocaml-packages.nix | 2 -- 2 files changed, 31 deletions(-) delete mode 100644 pkgs/development/ocaml-modules/gtktop/default.nix diff --git a/pkgs/development/ocaml-modules/gtktop/default.nix b/pkgs/development/ocaml-modules/gtktop/default.nix deleted file mode 100644 index e1afefc6a79f..000000000000 --- a/pkgs/development/ocaml-modules/gtktop/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ stdenv, lib, fetchurl, ocaml, camlp4, findlib, lablgtk-extras }: - -let pname = "gtktop-2.0"; in - -if lib.versionAtLeast ocaml.version "4.06" -then throw "${pname} is not available for OCaml ${ocaml.version}" -else - -stdenv.mkDerivation { - name = "ocaml-${pname}"; - - src = fetchurl { - url = "http://zoggy.github.io/gtktop/${pname}.tar.gz"; - sha256 = "0cpmnavvham9mwxknm6df90g9qxabcvn2kfwlf9mncqa0z3rknz6"; - }; - - buildInputs = [ ocaml camlp4 findlib ]; - propagatedBuildInputs = [ lablgtk-extras ]; - - createFindlibDestdir = true; - - meta = { - homepage = "http://zoggy.github.io/gtktop/"; - description = "A small OCaml library to ease the creation of graphical toplevels"; - license = lib.licenses.lgpl3; - maintainers = with lib.maintainers; [ vbgl ]; - platforms = ocaml.meta.platforms or []; - }; -} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index feb412e320a3..e77eff16c04d 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -513,8 +513,6 @@ let graphql_ppx = callPackage ../development/ocaml-modules/graphql_ppx { }; - gtktop = callPackage ../development/ocaml-modules/gtktop { }; - hex = callPackage ../development/ocaml-modules/hex { }; httpaf = callPackage ../development/ocaml-modules/httpaf { };