ocamlPackages.repr: 0.2.1 -> 0.3.0

master
superherointj 2021-06-06 08:04:43 -03:00 committed by Vincent Laporte
parent 8788cf16cd
commit 1c50387848
2 changed files with 11 additions and 12 deletions

View File

@ -1,30 +1,29 @@
{ lib, buildDunePackage, fetchurl, fmt, uutf, jsonm, base64, either }: { lib, buildDunePackage, fetchurl, base64, either, fmt, jsonm, uutf }:
buildDunePackage rec { buildDunePackage rec {
pname = "repr"; pname = "repr";
version = "0.2.1"; version = "0.3.0";
minimumOCamlVersion = "4.08";
src = fetchurl { src = fetchurl {
url = "https://github.com/mirage/${pname}/releases/download/${version}/${pname}-fuzz-${version}.tbz"; url = "https://github.com/mirage/${pname}/releases/download/${version}/${pname}-fuzz-${version}.tbz";
sha256 = "1cbzbawbn71mmpw8y84s1p2pbhc055w1znz64jvr00c7fdr9p8hc"; sha256 = "sha256-2b0v5RwutvyidzEDTEb5p33IvJ+3t2IW+KVxYD1ufXQ=";
}; };
minimumOCamlVersion = "4.08";
useDune2 = true; useDune2 = true;
propagatedBuildInputs = [ propagatedBuildInputs = [
fmt
uutf
jsonm
base64 base64
either either
fmt
jsonm
uutf
]; ];
meta = with lib; { meta = with lib; {
description = "Dynamic type representations. Provides no stability guarantee"; description = "Dynamic type representations. Provides no stability guarantee";
homepage = "https://github.com/mirage/repr"; homepage = "https://github.com/mirage/repr";
license = licenses.isc; license = licenses.isc;
maintainers = [ maintainers.sternenseemann ]; maintainers = with maintainers; [ sternenseemann ];
}; };
} }

View File

@ -1,4 +1,4 @@
{ buildDunePackage, repr, ppxlib, ppx_deriving, alcotest, hex }: { buildDunePackage, ppx_deriving, ppxlib, repr, alcotest, hex }:
buildDunePackage { buildDunePackage {
pname = "ppx_repr"; pname = "ppx_repr";
@ -6,9 +6,9 @@ buildDunePackage {
inherit (repr) src version useDune2; inherit (repr) src version useDune2;
propagatedBuildInputs = [ propagatedBuildInputs = [
repr
ppxlib
ppx_deriving ppx_deriving
ppxlib
repr
]; ];
doCheck = true; doCheck = true;