about summary refs log tree commit diff
path: root/pkgs/tools/backup
diff options
context:
space:
mode:
authorrushmorem <rushmore@webenchanter.com>2015-05-08 12:10:40 +0200
committerrushmorem <rushmore@webenchanter.com>2015-05-09 16:28:11 +0200
commitcd11803aa1142606e0df7a3546138c924d765c63 (patch)
treeb8833b0051f527f17a5389ed401a6b9f9593494e /pkgs/tools/backup
parent416ac64143f50d76f523570f1ac243248d04047f (diff)
downloadnixlib-cd11803aa1142606e0df7a3546138c924d765c63.tar
nixlib-cd11803aa1142606e0df7a3546138c924d765c63.tar.gz
nixlib-cd11803aa1142606e0df7a3546138c924d765c63.tar.bz2
nixlib-cd11803aa1142606e0df7a3546138c924d765c63.tar.lz
nixlib-cd11803aa1142606e0df7a3546138c924d765c63.tar.xz
nixlib-cd11803aa1142606e0df7a3546138c924d765c63.tar.zst
nixlib-cd11803aa1142606e0df7a3546138c924d765c63.zip
Add s3ql package
S3QL is a file system that stores all its data online using storage
services like Google Storage, Amazon S3, or OpenStack. S3QL effectively
provides a hard disk of dynamic, infinite capacity that can be accessed
from any computer with internet access running Linux, FreeBSD or OS-X.
Diffstat (limited to 'pkgs/tools/backup')
-rw-r--r--pkgs/tools/backup/s3ql/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/backup/s3ql/default.nix b/pkgs/tools/backup/s3ql/default.nix
new file mode 100644
index 000000000000..b455c672b104
--- /dev/null
+++ b/pkgs/tools/backup/s3ql/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, fetchurl, python3Packages, sqlite  }:
+
+python3Packages.buildPythonPackage rec {
+  name = "${pname}-${version}";
+  pname = "s3ql";
+  version = "2.13";
+
+  src = fetchurl {
+    url = "https://bitbucket.org/nikratio/${pname}/downloads/${name}.tar.bz2";
+    sha256 = "0bxps1iq0rv7bg2b8mys6zyjp912knm6zmafhid1jhsv3xyby4my";
+  };
+
+  propagatedBuildInputs = with python3Packages;
+    [ sqlite apsw pycrypto requests defusedxml dugong llfuse ];
+
+  meta = with stdenv.lib; {
+    description = "A full-featured file system for online data storage";
+    homepage = "https://bitbucket.org/nikratio/s3ql";
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ rushmorem ];
+    platforms = platforms.unix;
+  };
+}