lol

Merge pull request #301565 from vbgl/ocaml-stdlib-shims-dune3

ocamlPackages.stdlib-shims: use Dune 3

authored by

Weijia Wang and committed by
GitHub
ca1c287d ee70b5f4

+2 -5
+2 -5
pkgs/development/ocaml-modules/stdlib-shims/default.nix
··· 1 1 { buildDunePackage, lib, fetchurl, ocaml }: 2 2 3 - buildDunePackage (rec { 3 + buildDunePackage rec { 4 4 pname = "stdlib-shims"; 5 5 version = "0.3.0"; 6 6 src = fetchurl { 7 7 url = "https://github.com/ocaml/${pname}/releases/download/${version}/${pname}-${version}.tbz"; 8 8 sha256 = "0jnqsv6pqp5b5g7lcjwgd75zqqvcwcl5a32zi03zg1kvj79p5gxs"; 9 9 }; 10 - minimalOCamlVersion = "4.02"; 11 10 doCheck = true; 12 11 meta = { 13 12 description = "Shims for forward-compatibility between versions of the OCaml standard library"; ··· 15 14 inherit (ocaml.meta) license; 16 15 maintainers = [ lib.maintainers.vbgl ]; 17 16 }; 18 - } // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") { 19 - duneVersion = "1"; 20 - }) 17 + }