summary refs log tree commit diff
path: root/pkgs/servers/nosql/hyperdex/libpo6.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/nosql/hyperdex/libpo6.nix')
-rw-r--r--pkgs/servers/nosql/hyperdex/libpo6.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/servers/nosql/hyperdex/libpo6.nix b/pkgs/servers/nosql/hyperdex/libpo6.nix
new file mode 100644
index 000000000000..166a5e21c6b9
--- /dev/null
+++ b/pkgs/servers/nosql/hyperdex/libpo6.nix
@@ -0,0 +1,19 @@
+{ stdenv, fetchurl, unzip, autoconf, automake, libtool }:
+
+stdenv.mkDerivation rec {
+  name = "libpo6-${version}";
+  version = "0.5.2";
+
+  src = fetchurl {
+    url = "https://github.com/rescrv/po6/archive/releases/${version}.zip";
+    sha256 = "14g3ichshnc4wd0iq3q3ymgaq84gjsbqcyn6lri7c7djgkhqijjx";
+  };
+  buildInputs = [ unzip autoconf automake libtool ];
+  preConfigure = "autoreconf -i";
+
+  meta = with stdenv.lib; {
+    description = "POSIX wrappers for C++";
+    homepage = https://github.com/rescrv/po6;
+    license = licenses.bsd3;
+  };
+}