lol

treewide: add strictDeps = true to most packages depending on ocaml

+187 -123
+4 -2
pkgs/applications/misc/llpp/default.nix
··· 19 src = ./fix-build-bash.patch; 20 }); 21 22 - nativeBuildInputs = [ makeWrapper ]; 23 - buildInputs = [ ocaml mupdf libX11 libGLU libGL freetype zlib gumbo jbig2dec openjpeg libjpeg lcms2 harfbuzz ]; 24 25 dontStrip = true; 26
··· 19 src = ./fix-build-bash.patch; 20 }); 21 22 + strictDeps = true; 23 + 24 + nativeBuildInputs = [ makeWrapper ocaml ]; 25 + buildInputs = [ mupdf libX11 libGLU libGL freetype zlib gumbo jbig2dec openjpeg libjpeg lcms2 harfbuzz ]; 26 27 dontStrip = true; 28
+3 -7
pkgs/applications/networking/p2p/mldonkey/default.nix
··· 27 '${ocamlPackages.camlp4}/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib/camlp4' 28 ''; 29 30 - buildInputs = (with ocamlPackages; [ 31 - ocaml 32 - camlp4 33 - num 34 - ]) ++ [ 35 - zlib 36 - ]; 37 38 meta = { 39 broken = stdenv.isDarwin;
··· 27 '${ocamlPackages.camlp4}/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib/camlp4' 28 ''; 29 30 + strictDeps = true; 31 + nativeBuildInputs = with ocamlPackages; [ ocaml camlp4]; 32 + buildInputs = (with ocamlPackages; [ num ]) ++ [ zlib ]; 33 34 meta = { 35 broken = stdenv.isDarwin;
+4 -2
pkgs/applications/networking/sync/unison/default.nix
··· 23 sha256 = "sha256-taA8eZ/wOe9uMccXVYfe34/XzWgqYKA3tLZnIOahOrQ="; 24 }; 25 26 - nativeBuildInputs = [ makeWrapper ] 27 ++ lib.optional enableX11 copyDesktopItems; 28 - buildInputs = [ ocamlPackages.ocaml ncurses ]; 29 30 preBuild = lib.optionalString enableX11 '' 31 sed -i "s|\(OCAMLOPT=.*\)$|\1 -I $(echo "${ocamlPackages.lablgtk}"/lib/ocaml/*/site-lib/lablgtk2)|" src/Makefile.OCaml
··· 23 sha256 = "sha256-taA8eZ/wOe9uMccXVYfe34/XzWgqYKA3tLZnIOahOrQ="; 24 }; 25 26 + strictDeps = true; 27 + 28 + nativeBuildInputs = [ makeWrapper ocamlPackages.ocaml ] 29 ++ lib.optional enableX11 copyDesktopItems; 30 + buildInputs = [ ncurses ]; 31 32 preBuild = lib.optionalString enableX11 '' 33 sed -i "s|\(OCAMLOPT=.*\)$|\1 -I $(echo "${ocamlPackages.lablgtk}"/lib/ocaml/*/site-lib/lablgtk2)|" src/Makefile.OCaml
+3 -1
pkgs/applications/science/logic/abella/default.nix
··· 9 sha256 = "sha256-/eOiebMFHgrurtrSHPlgZO3xmmxBOUmyAzswXZLd3Yc="; 10 }; 11 12 - buildInputs = [ rsync ] ++ (with ocamlPackages; [ ocaml ocamlbuild findlib ]); 13 14 installPhase = '' 15 mkdir -p $out/bin
··· 9 sha256 = "sha256-/eOiebMFHgrurtrSHPlgZO3xmmxBOUmyAzswXZLd3Yc="; 10 }; 11 12 + strictDeps = true; 13 + 14 + nativeBuildInputs = [ rsync ] ++ (with ocamlPackages; [ ocaml ocamlbuild findlib ]); 15 16 installPhase = '' 17 mkdir -p $out/bin
+3 -1
pkgs/applications/science/logic/cryptoverif/default.nix
··· 9 sha256 = "sha256-F5eVN5ATYo9Ivpi2eYh96ktuTWUeoqgWMR4BqHu8EFs="; 10 }; 11 12 - buildInputs = [ ocaml ]; 13 14 /* Fix up the frontend to load the 'default' cryptoverif library 15 ** from under $out/libexec. By default, it expects to find the files
··· 9 sha256 = "sha256-F5eVN5ATYo9Ivpi2eYh96ktuTWUeoqgWMR4BqHu8EFs="; 10 }; 11 12 + strictDeps = true; 13 + 14 + nativeBuildInputs = [ ocaml ]; 15 16 /* Fix up the frontend to load the 'default' cryptoverif library 17 ** from under $out/libexec. By default, it expects to find the files
+2 -4
pkgs/applications/science/logic/ekrhyper/default.nix
··· 9 sha256 = "sha256-fEe0DIMGj7wO+79/BZf45kykgyTXpbZJsyFSt31XqpM="; 10 }; 11 12 - buildInputs = [ 13 - ocaml 14 - perl 15 - ]; 16 setSourceRoot = "export sourceRoot=$(echo */ekrh/src/)"; 17 preInstall = "export INSTALLDIR=$out"; 18 postInstall = ''for i in "$out/casc"/*; do ln -s "$i" "$out/bin/ekrh-casc-$(basename $i)"; done '';
··· 9 sha256 = "sha256-fEe0DIMGj7wO+79/BZf45kykgyTXpbZJsyFSt31XqpM="; 10 }; 11 12 + strictDeps = true; 13 + nativeBuildInputs = [ ocaml perl ]; 14 setSourceRoot = "export sourceRoot=$(echo */ekrh/src/)"; 15 preInstall = "export INSTALLDIR=$out"; 16 postInstall = ''for i in "$out/casc"/*; do ln -s "$i" "$out/bin/ekrh-casc-$(basename $i)"; done '';
+3 -1
pkgs/applications/science/logic/hol_light/default.nix
··· 38 }) 39 ]; 40 41 - buildInputs = [ ocaml camlp5 ]; 42 propagatedBuildInputs = [ num ]; 43 44 installPhase = ''
··· 38 }) 39 ]; 40 41 + strictDeps = true; 42 + 43 + nativeBuildInputs = [ ocaml camlp5 ]; 44 propagatedBuildInputs = [ num ]; 45 46 installPhase = ''
+4 -1
pkgs/applications/science/logic/iprover/default.nix
··· 9 sha256 = "0lik8p7ayhjwpkln1iwf0ri84ramhch74j5nj6z7ph6wfi92pgg8"; 10 }; 11 12 - buildInputs = [ ocaml eprover zlib ]; 13 14 preConfigure = "patchShebangs ."; 15
··· 9 sha256 = "0lik8p7ayhjwpkln1iwf0ri84ramhch74j5nj6z7ph6wfi92pgg8"; 10 }; 11 12 + strictDeps = true; 13 + 14 + nativeBuildInputs = [ ocaml eprover ]; 15 + buildInputs = [ zlib ]; 16 17 preConfigure = "patchShebangs ."; 18
+4 -2
pkgs/applications/science/logic/leo2/default.nix
··· 9 sha256 = "sha256:1b2q7vsz6s9ighypsigqjm1mzjiq3xgnz5id5ssb4rh9zm190r82"; 10 }; 11 12 - nativeBuildInputs = [ makeWrapper ]; 13 - buildInputs = [ eprover ocaml camlp4 perl zlib ]; 14 15 patches = [ (fetchpatch { 16 url = "https://github.com/niklasso/minisat/commit/7eb6015313561a2586032574788fcb133eeaa19f.patch";
··· 9 sha256 = "sha256:1b2q7vsz6s9ighypsigqjm1mzjiq3xgnz5id5ssb4rh9zm190r82"; 10 }; 11 12 + strictDeps = true; 13 + 14 + nativeBuildInputs = [ makeWrapper eprover ocaml camlp4 perl ]; 15 + buildInputs = [ zlib ]; 16 17 patches = [ (fetchpatch { 18 url = "https://github.com/niklasso/minisat/commit/7eb6015313561a2586032574788fcb133eeaa19f.patch";
+5 -2
pkgs/applications/science/logic/ott/default.nix
··· 11 hash = "sha256-GzeEiok5kigcmfqf/K/UxvlKkl55zy0vOyiRZ2HyMiE="; 12 }; 13 14 - nativeBuildInputs = [ pkg-config opaline ]; 15 - buildInputs = with ocamlPackages; [ ocaml findlib ocamlgraph ]; 16 17 installTargets = "ott.install"; 18
··· 11 hash = "sha256-GzeEiok5kigcmfqf/K/UxvlKkl55zy0vOyiRZ2HyMiE="; 12 }; 13 14 + 15 + strictDeps = true; 16 + 17 + nativeBuildInputs = [ pkg-config opaline ] ++ (with ocamlPackages; [ findlib ocaml ]); 18 + buildInputs = with ocamlPackages; [ ocamlgraph ]; 19 20 installTargets = "ott.install"; 21
+4 -3
pkgs/applications/science/logic/prooftree/default.nix
··· 9 sha256 = "0z1z4wqbqwgppkh2bm89fgy07a0y2m6g4lvcyzs09sm1ysklk2dh"; 10 }; 11 12 - nativeBuildInputs = [ pkg-config ]; 13 - buildInputs = [ ncurses ] ++ (with ocamlPackages; [ 14 - ocaml findlib camlp5 lablgtk ]); 15 16 dontAddPrefix = true; 17 configureFlags = [ "--prefix" "$(out)" ];
··· 9 sha256 = "0z1z4wqbqwgppkh2bm89fgy07a0y2m6g4lvcyzs09sm1ysklk2dh"; 10 }; 11 12 + strictDeps = true; 13 + 14 + nativeBuildInputs = [ pkg-config ] ++ (with ocamlPackages; [ ocaml findlib camlp5 ]); 15 + buildInputs = [ ncurses ] ++ (with ocamlPackages; [ lablgtk ]); 16 17 dontAddPrefix = true; 18 configureFlags = [ "--prefix" "$(out)" ];
+3 -1
pkgs/applications/science/logic/proverif/default.nix
··· 9 sha256 = "sha256:0xgwnp59779xc40sb7ck8rmfn620pilxyq79l3bymj9m7z0mwvm9"; 10 }; 11 12 - buildInputs = with ocamlPackages; [ ocaml findlib ]; 13 14 buildPhase = "./build -nointeract"; 15 installPhase = ''
··· 9 sha256 = "sha256:0xgwnp59779xc40sb7ck8rmfn620pilxyq79l3bymj9m7z0mwvm9"; 10 }; 11 12 + strictDeps = true; 13 + 14 + nativeBuildInputs = with ocamlPackages; [ ocaml findlib ]; 15 16 buildPhase = "./build -nointeract"; 17 installPhase = ''
+5 -2
pkgs/applications/science/logic/satallax/default.nix
··· 3 pname = "satallax"; 4 version = "2.7"; 5 6 - nativeBuildInputs = [ makeWrapper ]; 7 - buildInputs = [ ocaml zlib which eprover coq ]; 8 src = fetchurl { 9 url = "https://www.ps.uni-saarland.de/~cebrown/satallax/downloads/${pname}-${version}.tar.gz"; 10 sha256 = "1kvxn8mc35igk4vigi5cp7w3wpxk2z3bgwllfm4n3h2jfs0vkpib";
··· 3 pname = "satallax"; 4 version = "2.7"; 5 6 + strictDeps = true; 7 + 8 + nativeBuildInputs = [ makeWrapper ocaml which eprover coq ]; 9 + buildInputs = [ zlib ]; 10 + 11 src = fetchurl { 12 url = "https://www.ps.uni-saarland.de/~cebrown/satallax/downloads/${pname}-${version}.tar.gz"; 13 sha256 = "1kvxn8mc35igk4vigi5cp7w3wpxk2z3bgwllfm4n3h2jfs0vkpib";
+3 -1
pkgs/applications/science/logic/statverif/default.nix
··· 14 sha256 = "113jjhi1qkcggbsmbw8fa9ln8vs7vy2r288szks7rn0jjn0wxmbw"; 15 }; 16 17 - buildInputs = [ ocaml ]; 18 19 patchPhase = "patch -p1 < ${pf-patch}"; 20 buildPhase = "./build";
··· 14 sha256 = "113jjhi1qkcggbsmbw8fa9ln8vs7vy2r288szks7rn0jjn0wxmbw"; 15 }; 16 17 + strictDeps = true; 18 + 19 + nativeBuildInputs = [ ocaml ]; 20 21 patchPhase = "patch -p1 < ${pf-patch}"; 22 buildPhase = "./build";
+3 -1
pkgs/applications/science/logic/tlaplus/tlaps.nix
··· 17 sha256 = "c296998acd14d5b93a8d5be7ee178007ef179957465966576bda26944b1b7fca"; 18 }; 19 20 - buildInputs = [ ocaml isabelle cvc3 perl wget which ]; 21 22 installPhase = '' 23 mkdir -pv "$out"
··· 17 sha256 = "c296998acd14d5b93a8d5be7ee178007ef179957465966576bda26944b1b7fca"; 18 }; 19 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ ocaml isabelle cvc3 perl wget which ]; 23 24 installPhase = '' 25 mkdir -pv "$out"
+9 -1
pkgs/applications/science/logic/why3/default.nix
··· 10 sha256 = "sha256-vNR7WeiSvg+763GcovoZBFDfncekJMeqNegP4fVw06I="; 11 }; 12 13 buildInputs = with ocamlPackages; [ 14 - ocaml findlib ocamlgraph zarith menhir 15 # Emacs compilation of why3.el 16 emacs 17 # Documentation
··· 10 sha256 = "sha256-vNR7WeiSvg+763GcovoZBFDfncekJMeqNegP4fVw06I="; 11 }; 12 13 + strictDeps = true; 14 + 15 + nativeBuildInputs = with ocamlPackages; [ 16 + ocaml findlib menhir 17 + # Coq Support 18 + coqPackages.coq 19 + ]; 20 + 21 buildInputs = with ocamlPackages; [ 22 + ocamlgraph zarith 23 # Emacs compilation of why3.el 24 emacs 25 # Documentation
+4 -2
pkgs/applications/science/logic/z3/default.nix
··· 29 sha256 = sha256; 30 }; 31 32 - nativeBuildInputs = optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 33 - buildInputs = [ python ] 34 ++ optional javaBindings jdk 35 ++ optionals ocamlBindings [ ocaml findlib ] 36 ;
··· 29 sha256 = sha256; 30 }; 31 32 + strictDeps = true; 33 + 34 + nativeBuildInputs = [ python ] 35 + ++ optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames 36 ++ optional javaBindings jdk 37 ++ optionals ocamlBindings [ ocaml findlib ] 38 ;
+2 -2
pkgs/applications/version-management/monotone-viz/default.nix
··· 13 version = "1.0.2"; 14 pname = "monotone-viz"; 15 16 - nativeBuildInputs = [ pkg-config makeWrapper ]; 17 - buildInputs = [ocaml lablgtk libgnomecanvas glib graphviz_2_0 camlp4]; 18 src = fetchurl { 19 url = "http://oandrieu.nerim.net/monotone-viz/${pname}-${version}-nolablgtk.tar.gz"; 20 sha256 = "1l5x4xqz5g1aaqbc1x80mg0yzkiah9ma9k9mivmn08alkjlakkdk";
··· 13 version = "1.0.2"; 14 pname = "monotone-viz"; 15 16 + nativeBuildInputs = [ pkg-config makeWrapper ocaml camlp4 ]; 17 + buildInputs = [ lablgtk libgnomecanvas glib graphviz_2_0 ]; 18 src = fetchurl { 19 url = "http://oandrieu.nerim.net/monotone-viz/${pname}-${version}-nolablgtk.tar.gz"; 20 sha256 = "1l5x4xqz5g1aaqbc1x80mg0yzkiah9ma9k9mivmn08alkjlakkdk";
+3 -3
pkgs/applications/virtualization/virt-top/default.nix
··· 16 autoreconfHook 17 pkg-config 18 getopt 19 ]; 20 - 21 buildInputs = with ocamlPackages; [ 22 calendar 23 curses 24 - findlib 25 gettext-stub 26 - ocaml 27 ocaml_libvirt 28 ] ++ [ libxml2 ]; 29
··· 16 autoreconfHook 17 pkg-config 18 getopt 19 + ocamlPackages.ocaml 20 + ocamlPackages.findlib 21 ]; 22 buildInputs = with ocamlPackages; [ 23 + ocamlPackages.ocaml 24 calendar 25 curses 26 gettext-stub 27 ocaml_libvirt 28 ] ++ [ libxml2 ]; 29
+4 -1
pkgs/development/compilers/mezzo/default.nix
··· 22 sha256 = "0yck5r6di0935s3iy2mm9538jkf77ssr789qb06ms7sivd7g3ip6"; 23 }; 24 25 - buildInputs = [ ocaml findlib ocamlbuild yojson menhir menhirLib ulex pprint fix functory ]; 26 27 # Sets warning 3 as non-fatal 28 prePatch = lib.optionalString (check-ocaml-version "4.02") ''
··· 22 sha256 = "0yck5r6di0935s3iy2mm9538jkf77ssr789qb06ms7sivd7g3ip6"; 23 }; 24 25 + strictDeps = true; 26 + 27 + nativeBuildInputs = [ ocaml findlib ocamlbuild ]; 28 + buildInputs = [ yojson menhir menhirLib ulex pprint fix functory ]; 29 30 # Sets warning 3 as non-fatal 31 prePatch = lib.optionalString (check-ocaml-version "4.02") ''
+4 -1
pkgs/development/compilers/obliv-c/default.nix
··· 1 { lib, stdenv, libgcrypt, fetchFromGitHub, ocamlPackages, perl }: 2 stdenv.mkDerivation rec { 3 pname = "obliv-c"; 4 version = "0.0pre20210621"; 5 - buildInputs = [ perl ] 6 ++ (with ocamlPackages; [ ocaml findlib ocamlbuild ]); 7 propagatedBuildInputs = [ libgcrypt ]; 8 src = fetchFromGitHub {
··· 1 { lib, stdenv, libgcrypt, fetchFromGitHub, ocamlPackages, perl }: 2 stdenv.mkDerivation rec { 3 pname = "obliv-c"; 4 + 5 version = "0.0pre20210621"; 6 + 7 + strictDeps = true; 8 + nativeBuildInputs = [ perl ] 9 ++ (with ocamlPackages; [ ocaml findlib ocamlbuild ]); 10 propagatedBuildInputs = [ libgcrypt ]; 11 src = fetchFromGitHub {
+6 -5
pkgs/development/compilers/reason/default.nix
··· 12 sha256 = "sha256-etzEXbILje+CrfJxIhH7jthEMoSJdS6O33QoG8HrLvI="; 13 }; 14 15 nativeBuildInputs = [ 16 makeWrapper 17 menhir 18 ]; 19 20 buildInputs = [ 21 - cppo 22 - dune_3 23 - findlib 24 fix 25 - menhir 26 menhirSdk 27 - ocaml 28 ppxlib 29 utop 30 ] ++ lib.optional (lib.versionOlder ocaml.version "4.07") ncurses;
··· 12 sha256 = "sha256-etzEXbILje+CrfJxIhH7jthEMoSJdS6O33QoG8HrLvI="; 13 }; 14 15 + strictDeps = true; 16 nativeBuildInputs = [ 17 makeWrapper 18 menhir 19 + ocaml 20 + menhir 21 + cppo 22 + dune_3 23 + findlib 24 ]; 25 26 buildInputs = [ 27 fix 28 menhirSdk 29 ppxlib 30 utop 31 ] ++ lib.optional (lib.versionOlder ocaml.version "4.07") ncurses;
+4 -2
pkgs/development/coq-modules/compcert/default.nix
··· 27 "3.11".sha256 = "sha256-ZISs/ZAJVWtxp9+Sg5qV5Rss1gI9hK769GnBfawLa6A="; 28 }; 29 30 - nativeBuildInputs = [ makeWrapper ]; 31 - buildInputs = with ocamlPackages; [ ocaml findlib menhir menhirLib ] ++ [ coq coq2html ]; 32 propagatedBuildInputs = [ flocq ]; 33 34 enableParallelBuilding = true;
··· 27 "3.11".sha256 = "sha256-ZISs/ZAJVWtxp9+Sg5qV5Rss1gI9hK769GnBfawLa6A="; 28 }; 29 30 + strictDeps = true; 31 + 32 + nativeBuildInputs = with ocamlPackages; [ makeWrapper ocaml findlib menhir coq coq2html ]; 33 + buildInputs = with ocamlPackages; [ menhirLib ]; 34 propagatedBuildInputs = [ flocq ]; 35 36 enableParallelBuilding = true;
+6 -2
pkgs/development/interpreters/eff/default.nix
··· 15 substituteInPlace setup.ml --replace js_of_ocaml.ocamlbuild js_of_ocaml-ocamlbuild 16 ''; 17 18 - buildInputs = [ which ] ++ (with ocamlPackages; [ 19 - ocaml findlib ocamlbuild menhir js_of_ocaml js_of_ocaml-ocamlbuild 20 ]); 21 22 doCheck = true; 23 checkTarget = "test";
··· 15 substituteInPlace setup.ml --replace js_of_ocaml.ocamlbuild js_of_ocaml-ocamlbuild 16 ''; 17 18 + strictDeps = true; 19 + 20 + nativeBuildInputs = [ which ] ++ (with ocamlPackages; [ 21 + ocaml findlib ocamlbuild menhir 22 ]); 23 + 24 + buildInputs = with ocamlPackages; [ js_of_ocaml js_of_ocaml-ocamlbuild ]; 25 26 doCheck = true; 27 checkTarget = "test";
+1 -1
pkgs/development/ocaml-modules/ocaml-gettext/stub.nix
··· 12 13 doCheck = true; 14 15 - nativeCheckInputs = [ ounit ]; 16 17 meta = builtins.removeAttrs ocaml_gettext.meta [ "mainProgram" ]; 18 }
··· 12 13 doCheck = true; 14 15 + checkInputs = [ ounit ]; 16 17 meta = builtins.removeAttrs ocaml_gettext.meta [ "mainProgram" ]; 18 }
+1 -3
pkgs/development/ocaml-modules/ppx_import/default.nix
··· 25 pname = "ppx_import"; 26 inherit version; 27 28 - useDune2 = true; 29 - 30 minimalOCamlVersion = "4.05"; 31 32 src = fetchurl { ··· 38 ppxlib 39 ]; 40 41 - nativeCheckInputs = [ 42 ounit 43 ppx_deriving 44 ppx_sexp_conv
··· 25 pname = "ppx_import"; 26 inherit version; 27 28 minimalOCamlVersion = "4.05"; 29 30 src = fetchurl { ··· 36 ppxlib 37 ]; 38 39 + checkInputs = [ 40 ounit 41 ppx_deriving 42 ppx_sexp_conv
+4 -1
pkgs/development/tools/analysis/flow/default.nix
··· 18 install -Dm644 resources/shell/bash-completion $out/share/bash-completion/completions/flow 19 ''; 20 21 - buildInputs = (with ocamlPackages; [ ocaml findlib ocamlbuild ocaml-migrate-parsetree-2 dtoa fileutils core_kernel sedlex ocaml_lwt lwt_log lwt_ppx ppx_deriving ppx_gen_rec visitors wtf8 ]) 22 ++ lib.optionals stdenv.isDarwin [ CoreServices ]; 23 24 meta = with lib; {
··· 18 install -Dm644 resources/shell/bash-completion $out/share/bash-completion/completions/flow 19 ''; 20 21 + strictDeps = true; 22 + 23 + nativeBuildInputs = with ocamlPackages; [ ocaml findlib ocamlbuild ]; 24 + buildInputs = with ocamlPackages; [ ocaml-migrate-parsetree-2 dtoa fileutils core_kernel sedlex ocaml_lwt lwt_log lwt_ppx ppx_deriving ppx_gen_rec visitors wtf8 ] 25 ++ lib.optionals stdenv.isDarwin [ CoreServices ]; 26 27 meta = with lib; {
+4 -3
pkgs/development/tools/analysis/frama-c/default.nix
··· 44 }; 45 46 preConfigure = lib.optionalString stdenv.cc.isClang "configureFlagsArray=(\"--with-cpp=clang -E -C\")"; 47 - 48 postConfigure = "patchShebangs src/plugins/value/gen-api.sh"; 49 50 - nativeBuildInputs = [ autoconf wrapGAppsHook ]; 51 52 buildInputs = with ocamlPackages; [ 53 - ncurses ocaml findlib ltl2ba ocamlgraph yojson menhirLib camlzip 54 lablgtk3 lablgtk3-sourceview3 coq graphviz zarith apron why3 mlgmpidl doxygen 55 ppx_deriving ppx_import 56 gdk-pixbuf
··· 44 }; 45 46 preConfigure = lib.optionalString stdenv.cc.isClang "configureFlagsArray=(\"--with-cpp=clang -E -C\")"; 47 postConfigure = "patchShebangs src/plugins/value/gen-api.sh"; 48 49 + strictDeps = true; 50 + 51 + nativeBuildInputs = [ autoconf wrapGAppsHook ] ++ (with ocamlPackages; [ ocaml findlib ]); 52 53 buildInputs = with ocamlPackages; [ 54 + ncurses ltl2ba ocamlgraph yojson menhirLib camlzip 55 lablgtk3 lablgtk3-sourceview3 coq graphviz zarith apron why3 mlgmpidl doxygen 56 ppx_deriving ppx_import 57 gdk-pixbuf
+4 -1
pkgs/development/tools/java/sawjap/default.nix
··· 10 11 prePatch = "cd test"; 12 13 - buildInputs = [ ocaml findlib sawja ]; 14 15 buildPhase = '' 16 runHook preBuild
··· 10 11 prePatch = "cd test"; 12 13 + strictDeps = true; 14 + 15 + nativeBuildInputs = [ ocaml findlib ]; 16 + buildInputs = [ sawja ]; 17 18 buildPhase = '' 19 runHook preBuild
+64 -59
pkgs/tools/audio/liquidsoap/full.nix
··· 23 --prefix PATH : ${lib.makeBinPath runtimePackages} 24 ''; 25 26 - nativeBuildInputs = [ makeWrapper pkg-config ]; 27 buildInputs = [ 28 - libjpeg 29 - which 30 - ocamlPackages.ocaml ocamlPackages.findlib 31 32 - # Mandatory dependencies 33 - ocamlPackages.dtools 34 - ocamlPackages.duppy 35 - ocamlPackages.mm 36 - ocamlPackages.ocaml_pcre 37 - ocamlPackages.menhir ocamlPackages.menhirLib 38 - ocamlPackages.camomile 39 - ocamlPackages.ocurl 40 - ocamlPackages.uri 41 - ocamlPackages.sedlex 42 43 - # Recommended dependencies 44 - ocamlPackages.ffmpeg 45 46 - # Optional dependencies 47 - ocamlPackages.camlimages 48 - ocamlPackages.gd4o 49 - ocamlPackages.alsa 50 - ocamlPackages.ao 51 - ocamlPackages.bjack 52 - ocamlPackages.cry 53 - ocamlPackages.dssi 54 - ocamlPackages.faad 55 - ocamlPackages.fdkaac 56 - ocamlPackages.flac 57 - ocamlPackages.frei0r 58 - ocamlPackages.gstreamer 59 - ocamlPackages.inotify 60 - ocamlPackages.ladspa 61 - ocamlPackages.lame 62 - ocamlPackages.lastfm 63 - ocamlPackages.lilv 64 - ocamlPackages.lo 65 - ocamlPackages.mad 66 - ocamlPackages.magic 67 - ocamlPackages.ogg 68 - ocamlPackages.opus 69 - ocamlPackages.portaudio 70 - ocamlPackages.pulseaudio 71 - ocamlPackages.shine 72 - ocamlPackages.samplerate 73 - ocamlPackages.soundtouch 74 - ocamlPackages.speex 75 - ocamlPackages.srt 76 - ocamlPackages.ssl 77 - ocamlPackages.taglib 78 - ocamlPackages.theora 79 - ocamlPackages.vorbis 80 - ocamlPackages.xmlplaylist 81 - ocamlPackages.posix-time2 82 - ocamlPackages.tsdl 83 - ocamlPackages.tsdl-image 84 - ocamlPackages.tsdl-ttf 85 86 - # Undocumented dependencies 87 - ocamlPackages.graphics 88 - ocamlPackages.cohttp-lwt-unix 89 - ]; 90 91 meta = with lib; { 92 description = "Swiss-army knife for multimedia streaming";
··· 23 --prefix PATH : ${lib.makeBinPath runtimePackages} 24 ''; 25 26 + 27 + strictDeps = true; 28 + 29 + nativeBuildInputs = 30 + [ makeWrapper pkg-config which 31 + ocamlPackages.ocaml ocamlPackages.findlib ocamlPackages.menhir 32 + ]; 33 + 34 buildInputs = [ 35 + libjpeg 36 37 + # Mandatory dependencies 38 + ocamlPackages.dtools 39 + ocamlPackages.duppy 40 + ocamlPackages.mm 41 + ocamlPackages.ocaml_pcre 42 + ocamlPackages.menhir ocamlPackages.menhirLib 43 + ocamlPackages.camomile 44 + ocamlPackages.ocurl 45 + ocamlPackages.uri 46 + ocamlPackages.sedlex 47 48 + # Recommended dependencies 49 + ocamlPackages.ffmpeg 50 51 + # Optional dependencies 52 + ocamlPackages.camlimages 53 + ocamlPackages.gd4o 54 + ocamlPackages.alsa 55 + ocamlPackages.ao 56 + ocamlPackages.bjack 57 + ocamlPackages.cry 58 + ocamlPackages.dssi 59 + ocamlPackages.faad 60 + ocamlPackages.fdkaac 61 + ocamlPackages.flac 62 + ocamlPackages.frei0r 63 + ocamlPackages.gstreamer 64 + ocamlPackages.inotify 65 + ocamlPackages.ladspa 66 + ocamlPackages.lame 67 + ocamlPackages.lastfm 68 + ocamlPackages.lilv 69 + ocamlPackages.lo 70 + ocamlPackages.mad 71 + ocamlPackages.magic 72 + ocamlPackages.ogg 73 + ocamlPackages.opus 74 + ocamlPackages.portaudio 75 + ocamlPackages.pulseaudio 76 + ocamlPackages.shine 77 + ocamlPackages.samplerate 78 + ocamlPackages.soundtouch 79 + ocamlPackages.speex 80 + ocamlPackages.srt 81 + ocamlPackages.ssl 82 + ocamlPackages.taglib 83 + ocamlPackages.theora 84 + ocamlPackages.vorbis 85 + ocamlPackages.xmlplaylist 86 + ocamlPackages.posix-time2 87 + ocamlPackages.tsdl 88 + ocamlPackages.tsdl-image 89 + ocamlPackages.tsdl-ttf 90 91 + # Undocumented dependencies 92 + ocamlPackages.graphics 93 + ocamlPackages.cohttp-lwt-unix 94 + ]; 95 96 meta = with lib; { 97 description = "Swiss-army knife for multimedia streaming";
+3 -1
pkgs/tools/misc/bibtex2html/default.nix
··· 9 sha256 = "07gzrs4lfrkvbn48cgn2gn6c7cx3jsanakkrb2irj0gmjzfxl96j"; 10 }; 11 12 - buildInputs = [ ocaml perl ]; 13 14 meta = with lib; { 15 description = "A collection of tools for translating from BibTeX to HTML";
··· 9 sha256 = "07gzrs4lfrkvbn48cgn2gn6c7cx3jsanakkrb2irj0gmjzfxl96j"; 10 }; 11 12 + strictDeps = true; 13 + 14 + nativeBuildInputs = [ ocaml perl ]; 15 16 meta = with lib; { 17 description = "A collection of tools for translating from BibTeX to HTML";
+3 -1
pkgs/tools/misc/ledit/default.nix
··· 14 substituteInPlace Makefile --replace /bin/rm rm --replace BINDIR=/usr/local/bin BINDIR=$out/bin 15 ''; 16 17 - buildInputs = [ 18 ocaml 19 camlp5 20 ];
··· 14 substituteInPlace Makefile --replace /bin/rm rm --replace BINDIR=/usr/local/bin BINDIR=$out/bin 15 ''; 16 17 + strictDeps = true; 18 + 19 + nativeBuildInputs = [ 20 ocaml 21 camlp5 22 ];
+3 -1
pkgs/tools/misc/wyrd/default.nix
··· 13 substituteInPlace curses/curses.ml --replace 'pp gcc' "pp $CC" 14 ''; 15 16 - buildInputs = [ ocamlPackages.ocaml ncurses remind ocamlPackages.camlp4 ]; 17 18 preferLocalBuild = true; 19
··· 13 substituteInPlace curses/curses.ml --replace 'pp gcc' "pp $CC" 14 ''; 15 16 + strictDeps = true; 17 + nativeBuildInputs = [ ocamlPackages.ocaml ocamlPackages.camlp4 ]; 18 + buildInputs = [ ncurses remind ]; 19 20 preferLocalBuild = true; 21
+2
pkgs/tools/typesetting/hevea/default.nix
··· 9 sha256 = "sha256-XWdZ13AqKVx2oSwbKhoWdUqw7B/+1z/J0LE4tB5yBkg="; 10 }; 11 12 nativeBuildInputs = with ocamlPackages; [ ocaml ocamlbuild ]; 13 14 makeFlags = [ "PREFIX=$(out)" ];
··· 9 sha256 = "sha256-XWdZ13AqKVx2oSwbKhoWdUqw7B/+1z/J0LE4tB5yBkg="; 10 }; 11 12 + strictDeps = true; 13 + 14 nativeBuildInputs = with ocamlPackages; [ ocaml ocamlbuild ]; 15 16 makeFlags = [ "PREFIX=$(out)" ];
+3 -2
pkgs/tools/typesetting/pdfsandwich/default.nix
··· 10 sha256 = "1420c33divch087xrr61lvyf975bapqkgjqaighl581i69nlzsm6"; 11 }; 12 13 - nativeBuildInputs = [ makeWrapper ]; 14 - buildInputs = [ ocaml perl ]; 15 installPhase = '' 16 mkdir -p $out/bin 17 cp -p pdfsandwich $out/bin
··· 10 sha256 = "1420c33divch087xrr61lvyf975bapqkgjqaighl581i69nlzsm6"; 11 }; 12 13 + strictDeps = true; 14 + 15 + nativeBuildInputs = [ makeWrapper ocaml perl ]; 16 installPhase = '' 17 mkdir -p $out/bin 18 cp -p pdfsandwich $out/bin