lol

ocaml-lablgl: fixes the META file

authored by

Vincent Laporte and committed by
Aristid Breitkreuz
7fd48701 3f2a64d1

+24 -5
+18
pkgs/development/ocaml-modules/lablgl/META.patch
··· 1 + diff -r 562eb6ecb8ca META 2 + --- a/META Wed Oct 01 20:09:24 2014 +0100 3 + +++ b/META Wed Oct 01 20:22:15 2014 +0100 4 + @@ -1,6 +1,5 @@ 5 + -description "Bindings for OpenGL" 6 + +description="Bindings for OpenGL" 7 + version="1.05" 8 + -directory="+lablGL" 9 + archive(byte) = "lablgl.cma" 10 + archive(native) = "lablgl.cmxa" 11 + 12 + @@ -16,4 +15,4 @@ 13 + requires = "lablgl" 14 + archive(byte) = "lablglut.cma" 15 + archive(native) = "lablglut.cmxa" 16 + -) 17 + \ No newline at end of file 18 + +)
+6 -5
pkgs/development/ocaml-modules/lablgl/default.nix
··· 14 14 sha256 = "0qabydd219i4ak7hxgc67496qnnscpnydya2m4ijn3cpbgih7zyq"; 15 15 }; 16 16 17 - buildInputs = [ocaml findlib lablgtk mesa freeglut ]; 17 + buildInputs = [ocaml findlib lablgtk freeglut ]; 18 + propagatedBuildInputs = [ mesa ]; 18 19 19 - patches = [ ./Makefile.config.patch ]; 20 + patches = [ ./Makefile.config.patch ./META.patch ]; 20 21 21 22 preConfigure = '' 22 23 substituteInPlace Makefile.config \ ··· 35 36 cp ./META $out/lib/ocaml/${ocaml_version}/site-lib/lablgl 36 37 ''; 37 38 38 - meta = { 39 + meta = with stdenv.lib; { 39 40 homepage = http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html; 40 41 description = "OpenGL bindings for ocaml"; 41 - license = stdenv.lib.licenses.gpl2; 42 - maintainers = [ stdenv.lib.maintainers.pSub ]; 42 + license = licenses.gpl2; 43 + maintainers = with maintainers; [ pSub vbgl ]; 43 44 }; 44 45 }