2021-01-21 17:00:13 +00:00
|
|
|
{ fetchurl, lib, stdenv, tokyocabinet, pkg-config }:
|
2011-12-04 22:02:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-09 19:42:54 +00:00
|
|
|
pname = "tokyotyrant";
|
|
|
|
version = "1.1.41";
|
2011-12-04 22:02:55 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-09 19:42:54 +00:00
|
|
|
url = "https://fallabs.com/tokyotyrant/tokyotyrant-${version}.tar.gz";
|
2011-12-04 22:02:55 +00:00
|
|
|
sha256 = "13xqcinhydqmh7231qlir6pymacjwcf98drybkhd9597kzxp1bs2";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2011-12-04 22:02:55 +00:00
|
|
|
buildInputs = [ tokyocabinet ];
|
|
|
|
|
2021-11-09 19:53:19 +00:00
|
|
|
doCheck = false; # FIXME
|
2011-12-04 22:02:55 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Network interface of the Tokyo Cabinet DBM";
|
|
|
|
|
|
|
|
longDescription =
|
|
|
|
'' Tokyo Tyrant is a package of network interface to the DBM called
|
|
|
|
Tokyo Cabinet. Though the DBM has high performance, you might
|
|
|
|
bother in case that multiple processes share the same database, or
|
|
|
|
remote processes access the database. Thus, Tokyo Tyrant is
|
|
|
|
provided for concurrent and remote connections to Tokyo Cabinet. It
|
|
|
|
is composed of the server process managing a database and its access
|
|
|
|
library for client applications.
|
|
|
|
|
|
|
|
Tokyo Tyrant is written in the C language, and provided as API of C,
|
|
|
|
Perl, and Ruby. Tokyo Tyrant is available on platforms which have
|
|
|
|
API conforming to C99 and POSIX. Tokyo Tyrant is a free software
|
|
|
|
licensed under the GNU Lesser General Public License.
|
|
|
|
'';
|
|
|
|
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://fallabs.com/tokyotyrant/";
|
2011-12-04 22:02:55 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
2011-12-04 22:02:55 +00:00
|
|
|
|
2021-11-09 19:53:19 +00:00
|
|
|
platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice
|
2013-08-16 21:44:33 +00:00
|
|
|
maintainers = [ ];
|
2011-12-04 22:02:55 +00:00
|
|
|
};
|
|
|
|
}
|