ocamlPackages.encore: init at 0.3
This commit is contained in:
parent
9f26063077
commit
ea5684b438
2 changed files with 22 additions and 0 deletions
20
pkgs/development/ocaml-modules/encore/default.nix
Normal file
20
pkgs/development/ocaml-modules/encore/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ lib, buildDunePackage, fetchurl, ocaml, alcotest, angstrom, ke }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "encore";
|
||||
version = "0.3";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/encore/releases/download/v${version}/encore-v${version}.tbz";
|
||||
sha256 = "05nv6yms5axsmq9cspr7884rz5kirj50izx3vdm89q4yl186qykl";
|
||||
};
|
||||
propagatedBuildInputs = [ angstrom ke ];
|
||||
checkInputs = lib.optional doCheck alcotest;
|
||||
doCheck = lib.versions.majorMinor ocaml.version != "4.07";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/mirage/encore";
|
||||
description = "Library to generate encoder/decoder which ensure isomorphism";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
|
@ -233,6 +233,8 @@ let
|
|||
|
||||
elpi = callPackage ../development/ocaml-modules/elpi { };
|
||||
|
||||
encore = callPackage ../development/ocaml-modules/encore { };
|
||||
|
||||
enumerate = callPackage ../development/ocaml-modules/enumerate { };
|
||||
|
||||
eqaf = callPackage ../development/ocaml-modules/eqaf { };
|
||||
|
|
Loading…
Reference in a new issue