git.iko.soy/typeable/nixpkgs
on master help sign in
ocaml-sqlite3: update from 2.0.4 to 2.0.7
9bfa208Vincent Laporte
pkgs/development/ocaml-modules/sqlite3/default.nix+9−17
@@ -1,32 +1,24 @@
1{stdenv, fetchurl, sqlite, ocaml, findlib, pkgconfig}:
1{stdenv, fetchurl, sqlite, ocaml, findlib, pkgconfig}:
2
2
3stdenv.mkDerivation {
3stdenv.mkDerivation {
4− name = "ocaml-sqlite3-2.0.4";
4+ name = "ocaml-sqlite3-2.0.7";
5
5
6 src = fetchurl {
6 src = fetchurl {
7− url = https://bitbucket.org/mmottl/sqlite3-ocaml/downloads/sqlite3-ocaml-2.0.4.tar.gz;
7+ url = https://github.com/mmottl/sqlite3-ocaml/archive/v2.0.7.tar.gz;
8− sha256 = "51ccb4c7a240eb40652c59e1770cfe1827dfa1eb926c969d19ff414aef4e80a1";
8+ sha256 = "04m7qz251m6l2b7slkgml2j8bnx60lwzbdbsv95vidwzqcwg7bdq";
9 };
9 };
10
10
11− buildInputs = [ocaml findlib pkgconfig ];
11+ buildInputs = [ocaml findlib pkgconfig sqlite];
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− '';
20
12
21 createFindlibDestdir = true;
13 createFindlibDestdir = true;
22
14
23− meta = {
15+ meta = with stdenv.lib; {
24− homepage = https://bitbucket.org/mmottl/sqlite3-ocaml;
16+ homepage = http://mmottl.github.io/sqlite3-ocaml/;
25 description = "OCaml bindings to the SQLite 3 database access library";
17 description = "OCaml bindings to the SQLite 3 database access library";
26− license = stdenv.lib.licenses.mit;
18+ license = licenses.mit;
27 platforms = ocaml.meta.platforms;
19 platforms = ocaml.meta.platforms;
28− maintainers = [
20+ maintainers = with maintainers; [
29− stdenv.lib.maintainers.z77z
21+ z77z vbgl
30 ];
22 ];
31 };
23 };
32}
24}