Files
nixpkgs/pkgs/development/ocaml-modules/sqlite3/default.nix
T

27 lines
786 B
Nix
Raw Normal View History

{ stdenv, fetchurl, sqlite, ocaml, findlib, ocamlbuild, pkgconfig }:
2010-12-11 15:05:26 +00:00
2015-02-13 06:45:36 +01:00
stdenv.mkDerivation rec {
name = "ocaml-sqlite3-${version}";
version = "2.0.9";
2010-12-11 15:05:26 +00:00
src = fetchurl {
2015-02-13 06:45:36 +01:00
url = "https://github.com/mmottl/sqlite3-ocaml/releases/download/v${version}/sqlite3-ocaml-${version}.tar.gz";
sha256 = "0rwsx1nfa3xqmbygim2qx45jqm1gwf08m70wmcwkx50f1qk3l551";
2010-12-11 15:05:26 +00:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ocaml findlib ocamlbuild sqlite ];
2010-12-11 15:05:26 +00:00
createFindlibDestdir = true;
2014-11-11 20:06:40 +00:00
meta = with stdenv.lib; {
homepage = http://mmottl.github.io/sqlite3-ocaml/;
2010-12-11 15:05:26 +00:00
description = "OCaml bindings to the SQLite 3 database access library";
2014-11-11 20:06:40 +00:00
license = licenses.mit;
platforms = ocaml.meta.platforms or [];
2014-11-11 20:06:40 +00:00
maintainers = with maintainers; [
z77z vbgl
2010-12-11 15:05:26 +00:00
];
};
}