From d7de8bc6e9fce3c332050eb37c2be24da40d25a5 Mon Sep 17 00:00:00 2001 From: FlorentBecker Date: Mon, 6 Jun 2016 10:49:00 +0200 Subject: [PATCH] patoline: remove (source is unavailable) (#15918) --- pkgs/tools/typesetting/patoline/default.nix | 51 --------------------- pkgs/top-level/all-packages.nix | 24 ---------- 2 files changed, 75 deletions(-) delete mode 100644 pkgs/tools/typesetting/patoline/default.nix diff --git a/pkgs/tools/typesetting/patoline/default.nix b/pkgs/tools/typesetting/patoline/default.nix deleted file mode 100644 index a39105c83145..000000000000 --- a/pkgs/tools/typesetting/patoline/default.nix +++ /dev/null @@ -1,51 +0,0 @@ - -{ stdenv, fetchurl, ncurses, mesa, freeglut, libzip, - ocaml, findlib, camomile, - dypgen, ocaml_sqlite3, camlzip, - lablgtk, camlimages, ocaml_cairo, - lablgl, ocamlnet, cryptokit, - ocaml_pcre }: - -let - ocaml_version = (builtins.parseDrvName ocaml.name).version; -in - -stdenv.mkDerivation { - name = "patoline-0.1"; - - src = fetchurl { - url = "http://lama.univ-savoie.fr/patoline/patoline-0.1.tar.bz"; - sha256 = "c5ac8dcb87ceecaf11876bd0dd425bd0f04d43265adc2cbcb1f1e82a78846d49"; - }; - - createFindlibDestdir = true; - - buildInputs = [ ocaml findlib dypgen camomile ocaml_sqlite3 camlzip - lablgtk camlimages ocaml_cairo - lablgl ocamlnet cryptokit - ocaml_pcre ncurses mesa freeglut libzip ]; - - propagatedbuildInputs = [ camomile - dypgen ocaml_sqlite3 camlzip - lablgtk camlimages ocaml_cairo - lablgl ocamlnet cryptokit - ocaml_pcre ncurses mesa freeglut libzip ]; - - buildPhase = '' - ocaml configure.ml \ - --prefix $out \ - --ocaml-libs $out/lib/ocaml/${ocaml_version}/site-lib \ - --ocamlfind-dir $out/lib/ocaml/${ocaml_version}/site-lib \ - --fonts-dir $out/share/patoline/fonts \ - --grammars-dir $out/share/patoline/grammars \ - --hyphen-dir $out/share/patoline/hyphen - - make - ''; - - - meta = { - homepage = http://patoline.com; - description = "Patoline ocaml based typesetting system"; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3db71424d5a5..46f6a9138e1a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4960,8 +4960,6 @@ in dypgen = callPackage ../development/ocaml-modules/dypgen { }; - patoline = callPackage ../tools/typesetting/patoline { }; - gapi_ocaml = callPackage ../development/ocaml-modules/gapi-ocaml { }; gg = callPackage ../development/ocaml-modules/gg { }; @@ -16916,28 +16914,6 @@ in inherit (stdenv) mkDerivation; }; - # patoline requires a rather large ocaml compilation environment. - # this is why it is build as an environment and not just a normal package. - # remark : the emacs mode is also installed, but you have to adjust your load-path. - PatolineEnv = pack: myEnvFun { - name = "patoline"; - buildInputs = [ stdenv ncurses mesa freeglut libzip gcc - pack.ocaml pack.findlib pack.camomile - pack.dypgen pack.ocaml_sqlite3 pack.camlzip - pack.lablgtk pack.camlimages pack.ocaml_cairo - pack.lablgl pack.ocamlnet pack.cryptokit - pack.ocaml_pcre pack.patoline - ]; - # this is to circumvent the bug with libgcc_s.so.1 which is - # not found when using thread - extraCmds = '' - LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:${gcc.cc}/lib - export LD_LIBRARY_PATH - ''; - }; - - patoline = PatolineEnv ocamlPackages_4_00_1; - znc = callPackage ../applications/networking/znc { }; zncModules = recurseIntoAttrs (