Merge pull request #213512 from vbgl/ocaml-decompress-1.5.2

ocamlPackages.decompress: 1.5.1 → 1.5.2
This commit is contained in:
Weijia Wang 2023-01-30 08:16:03 +01:00 committed by GitHub
commit 1badc6db75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 5 deletions

View file

@ -11,10 +11,11 @@ buildDunePackage rec {
version = "0.6.0"; version = "0.6.0";
minimalOCamlVersion = "4.08"; minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl { src = fetchurl {
url = "https://github.com/mirage/ocaml-git/releases/download/${pname}-v${version}/git-${pname}-v${version}.tbz"; url = "https://github.com/mirage/ocaml-git/releases/download/${pname}-v${version}/git-${pname}-v${version}.tbz";
sha256 = "sha256-NAm4Xq7L0Dgynr8cKZQ356M4GR6D19LbCRxvnSlIf1U="; hash = "sha256-NAm4Xq7L0Dgynr8cKZQ356M4GR6D19LbCRxvnSlIf1U=";
}; };
patches = [ patches = [

View file

@ -9,6 +9,7 @@ buildDunePackage {
pname = "carton-git"; pname = "carton-git";
inherit (carton) version src postPatch; inherit (carton) version src postPatch;
duneVersion = "3";
propagatedBuildInputs = [ propagatedBuildInputs = [
carton carton

View file

@ -11,6 +11,7 @@ buildDunePackage {
pname = "carton-lwt"; pname = "carton-lwt";
inherit (carton) version src postPatch; inherit (carton) version src postPatch;
duneVersion = "3";
propagatedBuildInputs = [ propagatedBuildInputs = [
carton carton

View file

@ -1,22 +1,24 @@
{ lib, fetchurl, buildDunePackage { lib, fetchurl, buildDunePackage
, checkseum, optint, cmdliner , checkseum, optint, cmdliner
, bigstringaf, alcotest, camlzip, base64, ctypes, fmt, crowbar, rresult , bigstringaf, alcotest, camlzip, base64, ctypes, fmt, crowbar, rresult
, astring, bos
}: }:
buildDunePackage rec { buildDunePackage rec {
pname = "decompress"; pname = "decompress";
version = "1.5.1"; version = "1.5.2";
minimalOCamlVersion = "4.08"; minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl { src = fetchurl {
url = "https://github.com/mirage/decompress/releases/download/v${version}/decompress-${version}.tbz"; url = "https://github.com/mirage/decompress/releases/download/v${version}/decompress-${version}.tbz";
sha256 = "sha256-y/OVojFxhksJQQvvtS38SF7ZnMEQhAtwDey0ISwypP4="; hash = "sha256-qMmmuhMlFNVq02JvvV55EkhEg2AQNQ7hYdQ7spv1di4=";
}; };
buildInputs = [ cmdliner ]; buildInputs = [ cmdliner ];
propagatedBuildInputs = [ optint checkseum ]; propagatedBuildInputs = [ optint checkseum ];
nativeCheckInputs = [ alcotest bigstringaf ctypes fmt camlzip base64 crowbar rresult ]; nativeCheckInputs = [ alcotest astring bigstringaf bos ctypes fmt camlzip base64 crowbar rresult ];
doCheck = true; doCheck = true;
meta = { meta = {

View file

@ -10,12 +10,14 @@ buildDunePackage rec {
pname = "pbkdf"; pname = "pbkdf";
version = "1.2.0"; version = "1.2.0";
duneVersion = "3";
src = fetchzip { src = fetchzip {
url = "https://github.com/abeaumont/ocaml-pbkdf/archive/${version}.tar.gz"; url = "https://github.com/abeaumont/ocaml-pbkdf/archive/${version}.tar.gz";
sha256 = "sha256-dGi4Vw+7VBpK/NpJ6zdpogm+E6G/oJovXCksJBSmqjI="; sha256 = "sha256-dGi4Vw+7VBpK/NpJ6zdpogm+E6G/oJovXCksJBSmqjI=";
}; };
minimalOCamlVersion = "4.07"; minimalOCamlVersion = "4.08";
propagatedBuildInputs = [ cstruct mirage-crypto ]; propagatedBuildInputs = [ cstruct mirage-crypto ];
nativeCheckInputs = [ alcotest ]; nativeCheckInputs = [ alcotest ];
doCheck = true; doCheck = true;