ocaml-lablgl: fixes the META file
This commit is contained in:
parent
3f2a64d132
commit
7fd487018c
18
pkgs/development/ocaml-modules/lablgl/META.patch
Normal file
18
pkgs/development/ocaml-modules/lablgl/META.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
diff -r 562eb6ecb8ca META
|
||||||
|
--- a/META Wed Oct 01 20:09:24 2014 +0100
|
||||||
|
+++ b/META Wed Oct 01 20:22:15 2014 +0100
|
||||||
|
@@ -1,6 +1,5 @@
|
||||||
|
-description "Bindings for OpenGL"
|
||||||
|
+description="Bindings for OpenGL"
|
||||||
|
version="1.05"
|
||||||
|
-directory="+lablGL"
|
||||||
|
archive(byte) = "lablgl.cma"
|
||||||
|
archive(native) = "lablgl.cmxa"
|
||||||
|
|
||||||
|
@@ -16,4 +15,4 @@
|
||||||
|
requires = "lablgl"
|
||||||
|
archive(byte) = "lablglut.cma"
|
||||||
|
archive(native) = "lablglut.cmxa"
|
||||||
|
-)
|
||||||
|
\ No newline at end of file
|
||||||
|
+)
|
@ -14,9 +14,10 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0qabydd219i4ak7hxgc67496qnnscpnydya2m4ijn3cpbgih7zyq";
|
sha256 = "0qabydd219i4ak7hxgc67496qnnscpnydya2m4ijn3cpbgih7zyq";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ocaml findlib lablgtk mesa freeglut ];
|
buildInputs = [ocaml findlib lablgtk freeglut ];
|
||||||
|
propagatedBuildInputs = [ mesa ];
|
||||||
|
|
||||||
patches = [ ./Makefile.config.patch ];
|
patches = [ ./Makefile.config.patch ./META.patch ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace Makefile.config \
|
substituteInPlace Makefile.config \
|
||||||
@ -35,10 +36,10 @@ stdenv.mkDerivation {
|
|||||||
cp ./META $out/lib/ocaml/${ocaml_version}/site-lib/lablgl
|
cp ./META $out/lib/ocaml/${ocaml_version}/site-lib/lablgl
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html;
|
homepage = http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html;
|
||||||
description = "OpenGL bindings for ocaml";
|
description = "OpenGL bindings for ocaml";
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = [ stdenv.lib.maintainers.pSub ];
|
maintainers = with maintainers; [ pSub vbgl ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user