ocamlPackages.ocsipersist: 1.1.0 → 2.0.0

authored by Vincent Laporte and committed by Vincent Laporte 284d8dac bc110e0e

+15 -33
+1 -9
pkgs/development/ocaml-modules/ocsipersist/default.nix
··· 1 { 2 buildDunePackage, 3 ocsipersist-lib, 4 - ocsipersist-pgsql, 5 - ocsipersist-sqlite, 6 }: 7 8 buildDunePackage { 9 pname = "ocsipersist"; 10 inherit (ocsipersist-lib) src version; 11 - duneVersion = "3"; 12 - 13 - buildInputs = [ 14 - ocsipersist-pgsql 15 - ocsipersist-sqlite 16 - ]; 17 18 propagatedBuildInputs = [ ocsipersist-lib ]; 19 20 meta = ocsipersist-lib.meta // { 21 - description = "Persistent key/value storage (for Ocsigen) using multiple backends"; 22 }; 23 }
··· 1 { 2 buildDunePackage, 3 ocsipersist-lib, 4 }: 5 6 buildDunePackage { 7 pname = "ocsipersist"; 8 inherit (ocsipersist-lib) src version; 9 10 propagatedBuildInputs = [ ocsipersist-lib ]; 11 12 meta = ocsipersist-lib.meta // { 13 + description = "Persistent key/value storage for OCaml using multiple backends"; 14 }; 15 }
+4 -6
pkgs/development/ocaml-modules/ocsipersist/lib.nix
··· 8 9 buildDunePackage rec { 10 pname = "ocsipersist-lib"; 11 - version = "1.1.0"; 12 - 13 - duneVersion = "3"; 14 15 src = fetchFromGitHub { 16 owner = "ocsigen"; 17 repo = "ocsipersist"; 18 - rev = version; 19 - sha256 = "sha256:1d6kdcfjvrz0dl764mnyxc477aa57rvmzkg154qc915w2y1nbz9a"; 20 }; 21 22 buildInputs = [ lwt_ppx ]; ··· 26 description = "Persistent key/value storage (for Ocsigen) - support library"; 27 license = lib.licenses.lgpl21Only; 28 maintainers = [ lib.maintainers.vbgl ]; 29 - inherit (src.meta) homepage; 30 }; 31 }
··· 8 9 buildDunePackage rec { 10 pname = "ocsipersist-lib"; 11 + version = "2.0.0"; 12 13 src = fetchFromGitHub { 14 owner = "ocsigen"; 15 repo = "ocsipersist"; 16 + tag = version; 17 + hash = "sha256-7CKKwJxqxUpCMNs4xGbsMZ6Qud9AnczBStTXS+N21DU="; 18 }; 19 20 buildInputs = [ lwt_ppx ]; ··· 24 description = "Persistent key/value storage (for Ocsigen) - support library"; 25 license = lib.licenses.lgpl21Only; 26 maintainers = [ lib.maintainers.vbgl ]; 27 + homepage = "https://github.com/ocsigen/ocsipersist/"; 28 }; 29 }
+5 -9
pkgs/development/ocaml-modules/ocsipersist/pgsql.nix
··· 1 { 2 buildDunePackage, 3 - ocsipersist-lib, 4 lwt_log, 5 - ocsigen_server, 6 pgocaml, 7 xml-light, 8 }: 9 10 buildDunePackage { 11 pname = "ocsipersist-pgsql"; 12 - inherit (ocsipersist-lib) version src; 13 - duneVersion = "3"; 14 15 propagatedBuildInputs = [ 16 lwt_log 17 - ocsigen_server 18 - ocsipersist-lib 19 pgocaml 20 - xml-light 21 ]; 22 23 - meta = ocsipersist-lib.meta // { 24 - description = "Persistent key/value storage (for Ocsigen) using PostgreSQL"; 25 }; 26 }
··· 1 { 2 buildDunePackage, 3 + ocsipersist, 4 lwt_log, 5 pgocaml, 6 xml-light, 7 }: 8 9 buildDunePackage { 10 pname = "ocsipersist-pgsql"; 11 + inherit (ocsipersist) version src; 12 13 propagatedBuildInputs = [ 14 lwt_log 15 + ocsipersist 16 pgocaml 17 ]; 18 19 + meta = ocsipersist.meta // { 20 + description = "Persistent key/value storage for OCaml using PostgreSQL"; 21 }; 22 }
+5 -9
pkgs/development/ocaml-modules/ocsipersist/sqlite.nix
··· 1 { 2 buildDunePackage, 3 - ocsipersist-lib, 4 lwt_log, 5 ocaml_sqlite3, 6 ocsigen_server, 7 - xml-light, 8 }: 9 10 buildDunePackage { 11 pname = "ocsipersist-sqlite"; 12 - inherit (ocsipersist-lib) version src; 13 - duneVersion = "3"; 14 15 propagatedBuildInputs = [ 16 lwt_log 17 ocaml_sqlite3 18 - ocsigen_server 19 - ocsipersist-lib 20 - xml-light 21 ]; 22 23 - meta = ocsipersist-lib.meta // { 24 - description = "Persistent key/value storage (for Ocsigen) using SQLite"; 25 }; 26 }
··· 1 { 2 buildDunePackage, 3 + ocsipersist, 4 lwt_log, 5 ocaml_sqlite3, 6 ocsigen_server, 7 }: 8 9 buildDunePackage { 10 pname = "ocsipersist-sqlite"; 11 + inherit (ocsipersist) version src; 12 13 propagatedBuildInputs = [ 14 lwt_log 15 ocaml_sqlite3 16 + ocsipersist 17 ]; 18 19 + meta = ocsipersist.meta // { 20 + description = "Persistent key/value storage for OCaml using SQLite"; 21 }; 22 }