3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.pp: use Dune 3

This commit is contained in:
Vincent Laporte 2023-05-02 06:08:31 +02:00
parent d9b08e0b0b
commit d5f409ed80
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,5 +1,5 @@
{ buildDunePackage
, fetchzip
, fetchurl
, ppx_expect
, lib
}:
@ -8,12 +8,12 @@ buildDunePackage rec {
pname = "pp";
version = "1.1.2";
src = fetchzip {
src = fetchurl {
url = "https://github.com/ocaml-dune/pp/releases/download/${version}/pp-${version}.tbz";
sha256 = "1l1im054pxrkj7zk8m6yj4qfdpxkajpjfvy818ggf0j4nxkaihc5";
hash = "sha256-5KTpjZaxu3aVD81tpOk4yG2YnfTX5I8C96RFlfWvHVY=";
};
useDune2 = true;
duneVersion = "3";
minimalOCamlVersion = "4.08";
checkInputs = [ ppx_expect ];