Skip to content

Commit

Permalink
update a few packages (#1124)
Browse files Browse the repository at this point in the history
* update a few packages

* fix: rapper
  • Loading branch information
anmonteiro authored Oct 23, 2023
1 parent f698600 commit dab0002
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 20 deletions.
4 changes: 2 additions & 2 deletions ocaml/flow_parser/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ buildDunePackage {
src = fetchFromGitHub {
owner = "facebook";
repo = "flow";
rev = "v0.206.0";
hash = "sha256-pDh43pOf/PhyxGcYRnQsuq7FBJz2Wru77QBTEYSobno=";
rev = "v0.219.3";
hash = "sha256-cL76XrfncxcoM14Hy1AFfgjaA1fGtaD58XFUPlb7EZI=";
};

propagatedBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions ocaml/melange-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ with oself;
src = fetchFromGitHub {
owner = "reasonml";
repo = "reason-react";
rev = "3ab8747623e43b259bf4db8375fa35a5c5265db4";
hash = "sha256-5GyKXZ1C8fQnY4ekzJQNOhdRrRU4inQxZGkuEkN8Suo=";
rev = "7ca984c9a406b01e906fda1898f705f135fad202";
hash = "sha256-jTOAw0oDvMSCBF/5iltEjMHA3Qfl4CZJRhXt7SS6pC0=";
};
propagatedBuildInputs = [ ppxlib ];
};
Expand Down
6 changes: 3 additions & 3 deletions ocaml/melange/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@

buildDunePackage {
pname = "melange";
version = "2.0.0-dev";
version = "2.1.0";
duneVersion = "3";

src = fetchFromGitHub {
owner = "melange-re";
repo = "melange";
rev = "2.0.0";
hash = "sha256-OrZnHUQaBvCsyBvbQr5V2V+HcK4Hg4lHM5gvguyKJ4o=";
rev = "2.1.0";
hash = "sha256-kdguJxSQkGShL4RN9N2K52USy9I4SovjcH/F4NiS/8Y=";
fetchSubmodules = true;
};

Expand Down
13 changes: 5 additions & 8 deletions ocaml/pg_query/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ fetchFromGitHub
, buildDunePackage
, ppx_inline_test
, alcotest
, ppx_deriving
, ctypes
, ctypes-foreign
Expand All @@ -13,18 +13,15 @@ buildDunePackage {
src = fetchFromGitHub {
owner = "anmonteiro";
repo = "pg_query-ocaml";
rev = "f9f7a63363a56bf885bd84c68385696abe494e2f";
hash = "sha256-60OYony6I5+6tLLlGWQ4pbFO8N3ZWJrjKztiKMyKHsQ=";
rev = "703b4dbfdf4aaee284ca53b8a92682210b0ed0a7";
hash = "sha256-ICOh2N6ei8d7Ar0c1YOYV/NhhOzq2uLuIKu5dzMP9tM=";
};

postPatch = ''
rm -rf bin/
'';

propagatedBuildInputs = [
ppx_inline_test
ppx_deriving
ctypes
ctypes-foreign
];
doCheck = true;
checkInputs = [ alcotest ];
}
4 changes: 2 additions & 2 deletions ocaml/ppx_rapper/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ fetchFromGitHub, buildDunePackage, caqti, pg_query }:
{ fetchFromGitHub, buildDunePackage, base, caqti, pg_query }:

buildDunePackage rec {
pname = "ppx_rapper";
Expand All @@ -11,5 +11,5 @@ buildDunePackage rec {
hash = "sha256-HF7VVS2o5tdblkvd3Rwp8dohlwMJ/Dyo0fnd+D1+8vc=";
};

propagatedBuildInputs = [ caqti pg_query ];
propagatedBuildInputs = [ caqti pg_query base ];
}
6 changes: 3 additions & 3 deletions ocaml/redis/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

buildDunePackage rec {
pname = "redis";
version = "0.6";
version = "0.7";
src = builtins.fetchurl {
url = https://github.com/0xffea/ocaml-redis/releases/download/v0.7/redis-0.7.tbz;
sha256 = "1irrld5f9x0yd9ikmj65fgnnjz64m24ddqjk2vnx8s2jvwrrjgi8";
url = https://github.com/0xffea/ocaml-redis/releases/download/v0.7.1/redis-0.7.1.tbz;
sha256 = "02llmcfjh8dplc456y8y3vvvslsdib1r679pn8baphfm8xn1zxqf";
};

propagatedBuildInputs = [ uuidm re stdlib-shims ];
Expand Down

0 comments on commit dab0002

Please sign in to comment.