ocamlPackages.result: use Dune 2
This commit is contained in:
parent
0c98cef613
commit
1c26497371
|
@ -1,9 +1,11 @@
|
||||||
{ lib, buildDunePackage, fetchurl }:
|
{ lib, buildDunePackage, fetchurl, ocaml }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "result";
|
pname = "result";
|
||||||
version = "1.5";
|
version = "1.5";
|
||||||
|
|
||||||
|
useDune2 = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/janestreet/result/releases/download/${version}/result-${version}.tbz";
|
url = "https://github.com/janestreet/result/releases/download/${version}/result-${version}.tbz";
|
||||||
sha256 = "0cpfp35fdwnv3p30a06wd0py3805qxmq3jmcynjc3x2qhlimwfkw";
|
sha256 = "0cpfp35fdwnv3p30a06wd0py3805qxmq3jmcynjc3x2qhlimwfkw";
|
||||||
|
|
Loading…
Reference in New Issue