mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
ocamlPackages.stdlib-shims: use Dune 3
This commit is contained in:
parent
e52ada4e6b
commit
2eb99744ce
@ -1,13 +1,12 @@
|
||||
{ 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";
|
||||
@ -15,6 +14,4 @@ buildDunePackage (rec {
|
||||
inherit (ocaml.meta) license;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
} // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") {
|
||||
duneVersion = "1";
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user