tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.stdlib-shims: use Dune 3
Vincent Laporte
2 years ago
2eb99744
e52ada4e
+2
-5
1 changed file
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
stdlib-shims
default.nix
+2
-5
pkgs/development/ocaml-modules/stdlib-shims/default.nix
···
1
1
{ buildDunePackage, lib, fetchurl, ocaml }:
2
2
3
3
-
buildDunePackage (rec {
3
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
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
18
-
} // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") {
19
19
-
duneVersion = "1";
20
20
-
})
17
17
+
}