2024-04-21 15:54:59 +00:00
|
|
|
{ lib, fetchFromGitLab, buildDunePackage, hex, uri }:
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "json-data-encoding";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.0.1";
|
2021-10-14 00:43:12 +00:00
|
|
|
minimalOCamlVersion = "4.10";
|
2021-07-14 22:03:04 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "nomadic-labs";
|
2024-04-21 15:54:59 +00:00
|
|
|
repo = "data-encoding";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-KoA4xX4tNyi6bX5kso/Wof1LA7431EXJ34eD5X4jnd8=";
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2024-04-21 15:54:59 +00:00
|
|
|
hex
|
2021-07-14 22:03:04 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|