From 7a318d5f731dbebc381ef05844bb43fd2831f1f2 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Fri, 14 Nov 2014 21:53:33 -0800 Subject: [PATCH] kyotocabinet: Add derivation --- .../libraries/kyotocabinet/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 3 +++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/libraries/kyotocabinet/default.nix diff --git a/pkgs/development/libraries/kyotocabinet/default.nix b/pkgs/development/libraries/kyotocabinet/default.nix new file mode 100644 index 000000000000..6c4575b4e9d4 --- /dev/null +++ b/pkgs/development/libraries/kyotocabinet/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, zlib }: + +stdenv.mkDerivation rec { + name = "kyotocabinet-1.2.76"; + + src = fetchurl { + url = "http://fallabs.com/kyotocabinet/pkg/${name}.tar.gz"; + sha256 = "0g6js20x7vnpq4p8ghbw3mh9wpqksya9vwhzdx6dnlf354zjsal1"; + }; + + buildInputs = [ zlib ]; + + meta = with stdenv.lib; { + homepage = http://fallabs.com/kyotocabinet; + description = "a library of routines for managing a database"; + license = licenses.gpl3; + platforms = platforms.all; + maintainers = with maintainers; [ wkennington ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8435e4a3611b..fdb0d10a4142 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6911,7 +6911,10 @@ let tnt = callPackage ../development/libraries/tnt { }; + kyotocabinet = callPackage ../development/libraries/kyotocabinet { }; + tokyocabinet = callPackage ../development/libraries/tokyo-cabinet { }; + tokyotyrant = callPackage ../development/libraries/tokyo-tyrant { }; tremor = callPackage ../development/libraries/tremor { };