git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.atd: 2.0.0 → 2.2.1
commit128a43a1e89143592d3e3b00e004900338f29121 authorVincent Laporte <Vincent.Laporte@gmail.com> dateThu 18 Feb 2021, 22:36 (6 years ago) parent66ba4dc
2 files changed+12−12
pkgs/development/ocaml-modules/atd/default.nix+10−10 pkgs/development/ocaml-modules/atdgen/default.nix+2−2
pkgs/development/ocaml-modules/atd/default.nix+10−10
@@ -1,22 +1,22 @@
1−{ lib, menhir, easy-format, fetchFromGitHub, buildDunePackage, which, biniou, yojson }:
1+{ lib, menhir, easy-format, fetchurl, buildDunePackage, which, re }:
22
33buildDunePackage rec {
44 pname = "atd";
5− version = "2.0.0";
5+ version = "2.2.1";
6+
7+ useDune2 = true;
68
79 minimumOCamlVersion = "4.02";
810
9− src = fetchFromGitHub {
10− owner = "mjambon";
11− repo = pname;
12− rev = version;
13− sha256 = "0alzmk97rxg7s6irs9lvf89dy9n3r769my5n4j9p9qyigcdgjaia";
11+ src = fetchurl {
12+ url = "https://github.com/ahrefs/atd/releases/download/2.2.1/atd-2.2.1.tbz";
13+ sha256 = "17jm79np69ixp53a4njxnlb1pg8sd1g47nm3nyki9clkc8d4qsyv";
1414 };
1515
16− createFindlibDestdir = true;
17−
1816 buildInputs = [ which menhir ];
19− propagatedBuildInputs = [ easy-format biniou yojson ];
17+ propagatedBuildInputs = [ easy-format re ];
18+
19+ doCheck = true;
2020
2121 meta = with lib; {
2222 homepage = "https://github.com/mjambon/atd";
pkgs/development/ocaml-modules/atdgen/default.nix+2−2
@@ -3,7 +3,7 @@
33let runtime =
44 buildDunePackage {
55 pname = "atdgen-runtime";
6− inherit (atd) version src;
6+ inherit (atd) version useDune2 src;
77
88 propagatedBuildInputs = [ biniou yojson ];
99
@@ -13,7 +13,7 @@ let runtime =
1313
1414buildDunePackage {
1515 pname = "atdgen";
16− inherit (atd) version src;
16+ inherit (atd) version useDune2 src;
1717
1818 buildInputs = [ atd ];
1919