lol
1{ fetchurl, stdenv, tokyocabinet, pkgconfig }:
2
3stdenv.mkDerivation rec {
4 name = "tokyotyrant-1.1.41";
5
6 src = fetchurl {
7 url = "http://fallabs.com/tokyotyrant/${name}.tar.gz";
8 sha256 = "13xqcinhydqmh7231qlir6pymacjwcf98drybkhd9597kzxp1bs2";
9 };
10
11 nativeBuildInputs = [ pkgconfig ];
12 buildInputs = [ tokyocabinet ];
13
14 doCheck = false; # FIXME
15
16 meta = {
17 description = "Network interface of the Tokyo Cabinet DBM";
18
19 longDescription =
20 '' Tokyo Tyrant is a package of network interface to the DBM called
21 Tokyo Cabinet. Though the DBM has high performance, you might
22 bother in case that multiple processes share the same database, or
23 remote processes access the database. Thus, Tokyo Tyrant is
24 provided for concurrent and remote connections to Tokyo Cabinet. It
25 is composed of the server process managing a database and its access
26 library for client applications.
27
28 Tokyo Tyrant is written in the C language, and provided as API of C,
29 Perl, and Ruby. Tokyo Tyrant is available on platforms which have
30 API conforming to C99 and POSIX. Tokyo Tyrant is a free software
31 licensed under the GNU Lesser General Public License.
32 '';
33
34 homepage = http://fallabs.com/tokyotyrant/;
35
36 license = stdenv.lib.licenses.lgpl21Plus;
37
38 platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
39 maintainers = [ ];
40 };
41}