mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
melange-json: init at version 2.0.0 (#411337)
This commit is contained in:
commit
dfe4f053a4
2 changed files with 34 additions and 0 deletions
32
pkgs/development/ocaml-modules/melange-json/default.nix
Normal file
32
pkgs/development/ocaml-modules/melange-json/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildDunePackage,
|
||||
yojson,
|
||||
melange,
|
||||
ppxlib,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "melange-json";
|
||||
version = "2.0.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "melange-community";
|
||||
repo = "melange-json";
|
||||
tag = version;
|
||||
hash = "sha256-vgcvPRc2vEHE1AtHyttvs1T0LcoeTOFfmPUCz95goT0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ melange ];
|
||||
buildInputs = [
|
||||
melange
|
||||
yojson
|
||||
ppxlib
|
||||
];
|
||||
meta = {
|
||||
description = "Compositional JSON encode/decode library and PPX for Melange and OCaml";
|
||||
homepage = "https://github.com/melange-community/melange-json";
|
||||
license = lib.licenses.lgpl3;
|
||||
maintainers = [ lib.maintainers.GirardR1006 ];
|
||||
};
|
||||
}
|
|
@ -1196,6 +1196,8 @@ let
|
|||
|
||||
melange = callPackage ../development/tools/ocaml/melange { };
|
||||
|
||||
melange-json = callPackage ../development/ocaml-modules/melange-json { };
|
||||
|
||||
memprof-limits = callPackage ../development/ocaml-modules/memprof-limits { };
|
||||
|
||||
memtrace = callPackage ../development/ocaml-modules/memtrace { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue