git.iko.soy/typeable/nixpkgs
on master help sign in
ocaml-sqlite3: update from 2.0.4 to 2.0.7
commit9bfa20862132cd04b85b8f2e9ac3f0a2b81eb0b3 authorVincent Laporte <Vincent.Laporte@gmail.com> dateTue 11 Nov 2014, 20:06 (12 years ago) parentd12d84b
1 file changed+9−17
pkgs/development/ocaml-modules/sqlite3/default.nix+9−17
pkgs/development/ocaml-modules/sqlite3/default.nix+9−17
@@ -1,32 +1,24 @@
11{stdenv, fetchurl, sqlite, ocaml, findlib, pkgconfig}:
22
33stdenv.mkDerivation {
4− name = "ocaml-sqlite3-2.0.4";
4+ name = "ocaml-sqlite3-2.0.7";
55
66 src = fetchurl {
7− url = https://bitbucket.org/mmottl/sqlite3-ocaml/downloads/sqlite3-ocaml-2.0.4.tar.gz;
8− sha256 = "51ccb4c7a240eb40652c59e1770cfe1827dfa1eb926c969d19ff414aef4e80a1";
7+ url = https://github.com/mmottl/sqlite3-ocaml/archive/v2.0.7.tar.gz;
8+ sha256 = "04m7qz251m6l2b7slkgml2j8bnx60lwzbdbsv95vidwzqcwg7bdq";
99 };
1010
11− buildInputs = [ocaml findlib pkgconfig ];
12−
13− #configureFlags = "--with-sqlite3=${sqlite}";
14−
15− preConfigure = ''
16− export PKG_CONFIG_PATH=${sqlite}/lib/pkgconfig/
17− export OCAMLPATH=$OCAMLPATH:$OCAMLFIND_DESTDIR
18− mkdir -p $out/bin
19− '';
11+ buildInputs = [ocaml findlib pkgconfig sqlite];
2012
2113 createFindlibDestdir = true;
2214
23− meta = {
24− homepage = https://bitbucket.org/mmottl/sqlite3-ocaml;
15+ meta = with stdenv.lib; {
16+ homepage = http://mmottl.github.io/sqlite3-ocaml/;
2517 description = "OCaml bindings to the SQLite 3 database access library";
26− license = stdenv.lib.licenses.mit;
18+ license = licenses.mit;
2719 platforms = ocaml.meta.platforms;
28− maintainers = [
29− stdenv.lib.maintainers.z77z
20+ maintainers = with maintainers; [
21+ z77z vbgl
3022 ];
3123 };
3224}