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