tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.camlimages_4_1: disable for OCaml ≥ 4.06
Vincent Laporte
7 years ago
354dedfe
09821d23
+4
1 changed file
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
camlimages
4.1.nix
+4
pkgs/development/ocaml-modules/camlimages/4.1.nix
···
2
3
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.00";
4
0
0
0
0
5
let
6
pname = "camlimages";
7
version = "4.1.2";
···
2
3
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.00";
4
5
+
if stdenv.lib.versionAtLeast ocaml.version "4.06"
6
+
then throw "camlimages-4.1.2 is not available for OCaml ${ocaml.version}"
7
+
else
8
+
9
let
10
pname = "camlimages";
11
version = "4.1.2";