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