Merge pull request #224438 from vbgl/ocaml-ctypes-0.20.2

ocamlPackages.ctypes: 0.20.1 → 0.20.2

authored by

Ulrik Strid and committed by
GitHub
eb593c16 6cf5d549

+10 -2
+10 -2
pkgs/development/ocaml-modules/ctypes/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "ocaml${ocaml.version}-ctypes"; 9 - version = "0.20.1"; 9 + version = "0.20.2"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "ocamllabs"; 13 13 repo = "ocaml-ctypes"; 14 14 rev = version; 15 - sha256 = "sha256-H1QR0MJCqRdXxRufCA663wzTNWQ8MYYAy2nz/XHCn0Y="; 15 + hash = "sha256-LzUrR8K88CjY/R5yUK3y6KG85hUMjbzuebHGqI8KhhM="; 16 16 }; 17 17 18 18 nativeBuildInputs = [ pkg-config ocaml findlib ]; ··· 21 21 22 22 strictDeps = true; 23 23 24 + preConfigure = '' 25 + substituteInPlace META --replace ' bytes ' ' ' 26 + ''; 27 + 24 28 buildPhase = '' 29 + runHook preBuild 25 30 make XEN=false libffi.config ctypes-base ctypes-stubs 26 31 make XEN=false ctypes-foreign 32 + runHook postBuild 27 33 ''; 28 34 29 35 installPhase = '' 36 + runHook preInstall 30 37 mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/stublibs 31 38 make install XEN=false 39 + runHook postInstall 32 40 ''; 33 41 34 42 meta = with lib; {