ocamlPackages.atd: 2.0.0 → 2.2.1

This commit is contained in:
Vincent Laporte 2021-02-18 22:36:28 +01:00 committed by Vincent Laporte
parent 66ba4dc61f
commit 128a43a1e8
2 changed files with 12 additions and 12 deletions

View file

@ -1,22 +1,22 @@
{ lib, menhir, easy-format, fetchFromGitHub, buildDunePackage, which, biniou, yojson }:
{ lib, menhir, easy-format, fetchurl, buildDunePackage, which, re }:
buildDunePackage rec {
pname = "atd";
version = "2.0.0";
version = "2.2.1";
useDune2 = true;
minimumOCamlVersion = "4.02";
src = fetchFromGitHub {
owner = "mjambon";
repo = pname;
rev = version;
sha256 = "0alzmk97rxg7s6irs9lvf89dy9n3r769my5n4j9p9qyigcdgjaia";
src = fetchurl {
url = "https://github.com/ahrefs/atd/releases/download/2.2.1/atd-2.2.1.tbz";
sha256 = "17jm79np69ixp53a4njxnlb1pg8sd1g47nm3nyki9clkc8d4qsyv";
};
createFindlibDestdir = true;
buildInputs = [ which menhir ];
propagatedBuildInputs = [ easy-format biniou yojson ];
propagatedBuildInputs = [ easy-format re ];
doCheck = true;
meta = with lib; {
homepage = "https://github.com/mjambon/atd";

View file

@ -3,7 +3,7 @@
let runtime =
buildDunePackage {
pname = "atdgen-runtime";
inherit (atd) version src;
inherit (atd) version useDune2 src;
propagatedBuildInputs = [ biniou yojson ];
@ -13,7 +13,7 @@ let runtime =
buildDunePackage {
pname = "atdgen";
inherit (atd) version src;
inherit (atd) version useDune2 src;
buildInputs = [ atd ];