nixpkgs/pkgs/development/ocaml-modules/json-data-encoding/default.nix
Vincent Laporte 4922992a04
ligo: 1.4.0 → 1.6.0
ocamlPackages.data-encoding: 0.7.1 → 1.0.1
ocamlPackages.index: 1.6.1 → 1.6.2
ocamlPackages.irmin: 3.7.2 → 3.9.0
ocamlPackages.irmin-http: remove at 3.7.2
ocamlPackages.mirage-kv: 4.0.1 → 6.1.1
ocamlPackages.terminal: 0.2.1 → 0.2.2
2024-04-18 05:49:15 +02:00

26 lines
629 B
Nix

{ lib, fetchFromGitLab, buildDunePackage, hex, uri }:
buildDunePackage rec {
pname = "json-data-encoding";
version = "1.0.1";
minimalOCamlVersion = "4.10";
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = "data-encoding";
rev = "v${version}";
hash = "sha256-KoA4xX4tNyi6bX5kso/Wof1LA7431EXJ34eD5X4jnd8=";
};
propagatedBuildInputs = [
hex
uri
];
meta = {
homepage = "https://gitlab.com/nomadic-labs/json-data-encoding";
description = "Type-safe encoding to and decoding from JSON";
license = lib.licenses.lgpl3;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}