summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/atd
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2021-02-18 22:36:28 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2021-02-25 08:04:35 +0100
commit128a43a1e89143592d3e3b00e004900338f29121 (patch)
treebb4da463118e72b8848ea891cef72646884b8e20 /pkgs/development/ocaml-modules/atd
parent66ba4dc61fb073eaf9ddc89d0eb212264dfb29ed (diff)
downloadnixpkgs-128a43a1e89143592d3e3b00e004900338f29121.tar
nixpkgs-128a43a1e89143592d3e3b00e004900338f29121.tar.gz
nixpkgs-128a43a1e89143592d3e3b00e004900338f29121.tar.bz2
nixpkgs-128a43a1e89143592d3e3b00e004900338f29121.tar.lz
nixpkgs-128a43a1e89143592d3e3b00e004900338f29121.tar.xz
nixpkgs-128a43a1e89143592d3e3b00e004900338f29121.tar.zst
nixpkgs-128a43a1e89143592d3e3b00e004900338f29121.zip
ocamlPackages.atd: 2.0.0 → 2.2.1
Diffstat (limited to 'pkgs/development/ocaml-modules/atd')
-rw-r--r--pkgs/development/ocaml-modules/atd/default.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/development/ocaml-modules/atd/default.nix b/pkgs/development/ocaml-modules/atd/default.nix
index e4edac5fdc1..2f85221e539 100644
--- a/pkgs/development/ocaml-modules/atd/default.nix
+++ b/pkgs/development/ocaml-modules/atd/default.nix
@@ -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";