summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/ocaml-cairo/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/ocaml-cairo/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/ocaml-cairo/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/ocaml-cairo/default.nix b/pkgs/development/ocaml-modules/ocaml-cairo/default.nix
index fdb225ba8e8d..1411d32d40c3 100644
--- a/pkgs/development/ocaml-modules/ocaml-cairo/default.nix
+++ b/pkgs/development/ocaml-modules/ocaml-cairo/default.nix
@@ -1,10 +1,10 @@
-{stdenv, fetchurl, automake, ocaml, autoconf, gnum4, pkgconfig, freetype, lablgtk, unzip, cairo, findlib, gdk-pixbuf, gtk2, pango }:
+{stdenv, lib, fetchurl, automake, ocaml, autoconf, gnum4, pkgconfig, freetype, lablgtk, unzip, cairo, findlib, gdk-pixbuf, gtk2, pango }:
let
pname = "ocaml-cairo";
in
-if stdenv.lib.versionAtLeast ocaml.version "4.06"
+if lib.versionAtLeast ocaml.version "4.06"
then throw "${pname} is not available for OCaml ${ocaml.version}"
else
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://cairographics.org/cairo-ocaml";
description = "ocaml bindings for cairo library";
- license = stdenv.lib.licenses.gpl2;
+ license = lib.licenses.gpl2;
platforms = ocaml.meta.platforms or [];
};
}