ocamlPackages.domain-name: use Dune 2

This commit is contained in:
Vincent Laporte 2020-12-05 17:27:41 +01:00 committed by Vincent Laporte
parent 73182c1442
commit bee0a512d0

View file

@ -7,6 +7,8 @@ buildDunePackage rec {
pname = "domain-name";
version = "0.3.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/hannesm/domain-name/releases/download/v${version}/domain-name-v${version}.tbz";
sha256 = "12kc9p2a2fi1ipc2hyhbzivxpph3npglxwdgvhd6v20rqqdyvnad";
@ -14,7 +16,7 @@ buildDunePackage rec {
minimumOCamlVersion = "4.03";
buildInputs = [ alcotest ];
checkInputs = [ alcotest ];
propagatedBuildInputs = [ astring fmt ];