Skip to content

Commit

Permalink
Merge pull request NixOS#301565 from vbgl/ocaml-stdlib-shims-dune3
Browse files Browse the repository at this point in the history
ocamlPackages.stdlib-shims: use Dune 3
  • Loading branch information
wegank committed Apr 9, 2024
2 parents ee70b5f + 2eb9974 commit ca1c287
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pkgs/development/ocaml-modules/stdlib-shims/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
{ buildDunePackage, lib, fetchurl, ocaml }:

buildDunePackage (rec {
buildDunePackage rec {
pname = "stdlib-shims";
version = "0.3.0";
src = fetchurl {
url = "https://github.com/ocaml/${pname}/releases/download/${version}/${pname}-${version}.tbz";
sha256 = "0jnqsv6pqp5b5g7lcjwgd75zqqvcwcl5a32zi03zg1kvj79p5gxs";
};
minimalOCamlVersion = "4.02";
doCheck = true;
meta = {
description = "Shims for forward-compatibility between versions of the OCaml standard library";
homepage = "https://github.com/ocaml/stdlib-shims";
inherit (ocaml.meta) license;
maintainers = [ lib.maintainers.vbgl ];
};
} // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") {
duneVersion = "1";
})
}

0 comments on commit ca1c287

Please sign in to comment.