diff --git a/pkgs/development/libraries/tokyo-tyrant/default.nix b/pkgs/development/libraries/tokyo-tyrant/default.nix new file mode 100644 index 000000000000..633192133122 --- /dev/null +++ b/pkgs/development/libraries/tokyo-tyrant/default.nix @@ -0,0 +1,41 @@ +{ fetchurl, stdenv, tokyocabinet, pkgconfig }: + +stdenv.mkDerivation rec { + name = "tokyotyrant-1.1.41"; + + src = fetchurl { + url = "http://fallabs.com/tokyotyrant/${name}.tar.gz"; + sha256 = "13xqcinhydqmh7231qlir6pymacjwcf98drybkhd9597kzxp1bs2"; + }; + + buildNativeInputs = [ pkgconfig ]; + buildInputs = [ tokyocabinet ]; + + doCheck = false; # FIXME + + 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. + ''; + + homepage = http://fallabs.com/tokyotyrant/; + + license = "LGPLv2.1+"; + + platforms = stdenv.lib.platforms.gnu; # arbitrary choice + maintainers = [ stdenv.lib.maintainers.ludo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 612168b575a0..27a052d9e1e9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4597,6 +4597,7 @@ let tnt = callPackage ../development/libraries/tnt { }; tokyocabinet = callPackage ../development/libraries/tokyo-cabinet { }; + tokyotyrant = callPackage ../development/libraries/tokyo-tyrant { }; tremor = callPackage ../development/libraries/tremor { };