Update OCaml sqlite3
svn path=/nixpkgs/trunk/; revision=34312
This commit is contained in:
parent
de6b7ac64e
commit
6cf6d40534
@ -1,17 +1,11 @@
|
|||||||
{stdenv, fetchurl, sqlite, ocaml, findlib}:
|
{stdenv, fetchurl, sqlite, ocaml, findlib}:
|
||||||
|
|
||||||
let
|
|
||||||
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
|
||||||
version = "1.5.8";
|
|
||||||
in
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ocaml-sqlite3-${version}";
|
name = "ocaml-sqlite3-1.6.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://hg.ocaml.info/release/ocaml-sqlite3/archive/" +
|
url = https://bitbucket.org/mmottl/sqlite3-ocaml/downloads/sqlite3-ocaml-1.6.3.tar.gz;
|
||||||
"release-${version}.tar.bz2";
|
sha256 = "004wysf80bmb8r4yaa648v0bqrh2ry3kzy763gdksw4n15blghv5";
|
||||||
sha256 = "0fqbxm90mc2gk6jp9p8s53kay0hbcd0qc0adq8znanz99n8zqp53";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ocaml findlib];
|
buildInputs = [ocaml findlib];
|
||||||
@ -26,7 +20,7 @@ stdenv.mkDerivation {
|
|||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://ocaml.info/home/ocaml_sources.html#ocaml-sqlite3";
|
homepage = https://bitbucket.org/mmottl/sqlite3-ocaml;
|
||||||
description = "OCaml bindings to the SQLite 3 database access library";
|
description = "OCaml bindings to the SQLite 3 database access library";
|
||||||
license = "MIT/X11";
|
license = "MIT/X11";
|
||||||
platforms = ocaml.meta.platforms;
|
platforms = ocaml.meta.platforms;
|
||||||
|
Loading…
Reference in New Issue
Block a user