diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/ocsipersist/lib.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/ocsipersist/lib.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ocsipersist/lib.nix b/pkgs/development/ocaml-modules/ocsipersist/lib.nix new file mode 100644 index 0000000000000..a2abc5d9b399e --- /dev/null +++ b/pkgs/development/ocaml-modules/ocsipersist/lib.nix @@ -0,0 +1,27 @@ +{ lib, buildDunePackage, fetchFromGitHub +, lwt_ppx, lwt +}: + +buildDunePackage rec { + pname = "ocsipersist-lib"; + version = "1.1.0"; + + useDune2 = true; + + src = fetchFromGitHub { + owner = "ocsigen"; + repo = "ocsipersist"; + rev = version; + sha256 = "sha256:1d6kdcfjvrz0dl764mnyxc477aa57rvmzkg154qc915w2y1nbz9a"; + }; + + buildInputs = [ lwt_ppx ]; + propagatedBuildInputs = [ lwt ]; + + meta = { + description = "Persistent key/value storage (for Ocsigen) - support library"; + license = lib.licenses.lgpl21Only; + maintainers = [ lib.maintainers.vbgl ]; + inherit (src.meta) homepage; + }; +} |