From a32175d04fdd1dce6f8a30b850a79a7bae5d6300 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Fri, 2 Jan 2015 17:21:40 -0800 Subject: [PATCH] ctdb: Add derivation --- pkgs/development/libraries/ctdb/default.nix | 26 +++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/development/libraries/ctdb/default.nix diff --git a/pkgs/development/libraries/ctdb/default.nix b/pkgs/development/libraries/ctdb/default.nix new file mode 100644 index 000000000000..c3321108d865 --- /dev/null +++ b/pkgs/development/libraries/ctdb/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "ctdb-2.5.4"; + + src = fetchurl { + url = "http://samba.org/ftp/ctdb/${name}.tar.gz"; + sha256 = "09fb29ngxnh1crsqchykg23bl6s4fifvxwq4gwg1y742mmnjp9fy"; + }; + + buildInputs = [ ]; + + meta = with stdenv.lib; { + description = "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 = licenses.lgpl3Plus; + maintainers = with maintainers; [ wkennington ]; + platforms = platforms.all; + }; +}