ocamlPackages.parmap: use Dune 2

This commit is contained in:
Vincent Laporte 2021-04-05 16:02:51 +02:00
parent 59e7ddef8a
commit 938741a71b
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,14 +1,18 @@
{ lib, buildDunePackage, fetchurl }:
{ lib, buildDunePackage, fetchurl, dune-configurator }:
buildDunePackage rec {
pname = "parmap";
version = "1.2";
useDune2 = true;
src = fetchurl {
url = "https://github.com/rdicosmo/${pname}/releases/download/${version}/${pname}-${version}.tbz";
sha256 = "sha256-XUXptzD0eytaypaBQ+EBp4iVFRE6/Y0inS93t/YZrM8=";
};
buildInputs = [ dune-configurator ];
doCheck = true;
meta = with lib; {