diff options
author | Ludovic Courtès <ludo@gnu.org> | 2010-02-10 11:28:18 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2010-02-10 11:28:18 +0000 |
commit | da1f088b3fef66cbdd1156c272587fc1418aba2b (patch) | |
tree | 4ec6c037bb4f1b346698abc5a95c53770ff2983d | |
parent | 038ca191a66bd51fda475f5b3601ac45320e99b1 (diff) |
TDB, the trivial database.
svn path=/nixpkgs/trunk/; revision=19895
-rw-r--r-- | pkgs/development/libraries/tdb/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/libraries/tdb/default.nix b/pkgs/development/libraries/tdb/default.nix new file mode 100644 index 0000000000000..869536820340c --- /dev/null +++ b/pkgs/development/libraries/tdb/default.nix @@ -0,0 +1,28 @@ +{ fetchurl, stdenv, libxslt, libxml2, docbook_xsl }: + +stdenv.mkDerivation rec { + name = "tdb-1.2.1"; + + src = fetchurl { + url = "http://samba.org/ftp/tdb/${name}.tar.gz"; + sha256 = "1yndfc2hn28v78vgvrds7cjggmmhf9q5dcfklgdfvpsx9j9knhpg"; + }; + + buildInputs = [ libxslt libxml2 docbook_xsl ]; + + meta = { + description = "TDB, the trivial database"; + longDescription = + '' TDB is a Trivial Database. In concept, it is very much like GDBM, + and BSD's DB except that it allows multiple simultaneous writers and + uses locking internally to keep writers from trampling on each + other. TDB is also extremely small. + ''; + + homepage = http://tdb.samba.org/; + license = "LGPLv3+"; + + maintainers = [ stdenv.lib.maintainers.ludo ]; + platforms = stdenv.lib.platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c8daf094ee5cc..da89786d1f847 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4907,6 +4907,10 @@ let inherit stdenv fetchurl cmake qt4 telepathy_qt; }; + tdb = import ../development/libraries/tdb { + inherit fetchurl stdenv libxslt libxml2 docbook_xsl; + }; + tecla = import ../development/libraries/tecla { inherit fetchurl stdenv; }; |