ocamlPackages.ocsipersist: 1.1.0 → 2.0.0

This commit is contained in:
Vincent Laporte 2025-07-21 06:03:06 +02:00 committed by Vincent Laporte
parent bc110e0ee7
commit 284d8dacdf
4 changed files with 15 additions and 33 deletions

View File

@ -1,23 +1,15 @@
{ {
buildDunePackage, buildDunePackage,
ocsipersist-lib, ocsipersist-lib,
ocsipersist-pgsql,
ocsipersist-sqlite,
}: }:
buildDunePackage { buildDunePackage {
pname = "ocsipersist"; pname = "ocsipersist";
inherit (ocsipersist-lib) src version; inherit (ocsipersist-lib) src version;
duneVersion = "3";
buildInputs = [
ocsipersist-pgsql
ocsipersist-sqlite
];
propagatedBuildInputs = [ ocsipersist-lib ]; propagatedBuildInputs = [ ocsipersist-lib ];
meta = ocsipersist-lib.meta // { meta = ocsipersist-lib.meta // {
description = "Persistent key/value storage (for Ocsigen) using multiple backends"; description = "Persistent key/value storage for OCaml using multiple backends";
}; };
} }

View File

@ -8,15 +8,13 @@
buildDunePackage rec { buildDunePackage rec {
pname = "ocsipersist-lib"; pname = "ocsipersist-lib";
version = "1.1.0"; version = "2.0.0";
duneVersion = "3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ocsigen"; owner = "ocsigen";
repo = "ocsipersist"; repo = "ocsipersist";
rev = version; tag = version;
sha256 = "sha256:1d6kdcfjvrz0dl764mnyxc477aa57rvmzkg154qc915w2y1nbz9a"; hash = "sha256-7CKKwJxqxUpCMNs4xGbsMZ6Qud9AnczBStTXS+N21DU=";
}; };
buildInputs = [ lwt_ppx ]; buildInputs = [ lwt_ppx ];
@ -26,6 +24,6 @@ buildDunePackage rec {
description = "Persistent key/value storage (for Ocsigen) - support library"; description = "Persistent key/value storage (for Ocsigen) - support library";
license = lib.licenses.lgpl21Only; license = lib.licenses.lgpl21Only;
maintainers = [ lib.maintainers.vbgl ]; maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage; homepage = "https://github.com/ocsigen/ocsipersist/";
}; };
} }

View File

@ -1,26 +1,22 @@
{ {
buildDunePackage, buildDunePackage,
ocsipersist-lib, ocsipersist,
lwt_log, lwt_log,
ocsigen_server,
pgocaml, pgocaml,
xml-light, xml-light,
}: }:
buildDunePackage { buildDunePackage {
pname = "ocsipersist-pgsql"; pname = "ocsipersist-pgsql";
inherit (ocsipersist-lib) version src; inherit (ocsipersist) version src;
duneVersion = "3";
propagatedBuildInputs = [ propagatedBuildInputs = [
lwt_log lwt_log
ocsigen_server ocsipersist
ocsipersist-lib
pgocaml pgocaml
xml-light
]; ];
meta = ocsipersist-lib.meta // { meta = ocsipersist.meta // {
description = "Persistent key/value storage (for Ocsigen) using PostgreSQL"; description = "Persistent key/value storage for OCaml using PostgreSQL";
}; };
} }

View File

@ -1,26 +1,22 @@
{ {
buildDunePackage, buildDunePackage,
ocsipersist-lib, ocsipersist,
lwt_log, lwt_log,
ocaml_sqlite3, ocaml_sqlite3,
ocsigen_server, ocsigen_server,
xml-light,
}: }:
buildDunePackage { buildDunePackage {
pname = "ocsipersist-sqlite"; pname = "ocsipersist-sqlite";
inherit (ocsipersist-lib) version src; inherit (ocsipersist) version src;
duneVersion = "3";
propagatedBuildInputs = [ propagatedBuildInputs = [
lwt_log lwt_log
ocaml_sqlite3 ocaml_sqlite3
ocsigen_server ocsipersist
ocsipersist-lib
xml-light
]; ];
meta = ocsipersist-lib.meta // { meta = ocsipersist.meta // {
description = "Persistent key/value storage (for Ocsigen) using SQLite"; description = "Persistent key/value storage for OCaml using SQLite";
}; };
} }