summary refs log tree commit diff
path: root/pkgs/tools/compression
diff options
context:
space:
mode:
authorDaniel Peebles <pumpkin@me.com>2014-08-30 17:22:51 -0400
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-08-30 22:52:46 +0100
commit3182cf00ff7da0a6102d981c14d750ddaff12a65 (patch)
tree5c32caac45702b9a2b8c48a79b8a4777f71b448a /pkgs/tools/compression
parent6437e2541a11f93d95df3b8b2d16ffb8578f5a62 (diff)
downloadnixlib-3182cf00ff7da0a6102d981c14d750ddaff12a65.tar
nixlib-3182cf00ff7da0a6102d981c14d750ddaff12a65.tar.gz
nixlib-3182cf00ff7da0a6102d981c14d750ddaff12a65.tar.bz2
nixlib-3182cf00ff7da0a6102d981c14d750ddaff12a65.tar.lz
nixlib-3182cf00ff7da0a6102d981c14d750ddaff12a65.tar.xz
nixlib-3182cf00ff7da0a6102d981c14d750ddaff12a65.tar.zst
nixlib-3182cf00ff7da0a6102d981c14d750ddaff12a65.zip
Add xar
Diffstat (limited to 'pkgs/tools/compression')
-rw-r--r--pkgs/tools/compression/xar/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/compression/xar/default.nix b/pkgs/tools/compression/xar/default.nix
new file mode 100644
index 000000000000..0bb4a1fb2ae4
--- /dev/null
+++ b/pkgs/tools/compression/xar/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchurl, libxml2, openssl, zlib, bzip2 }:
+
+stdenv.mkDerivation rec {
+  version = "1.5.2";
+  name    = "xar-${version}";
+
+  src = fetchurl {
+    url    = "https://xar.googlecode.com/files/${name}.tar.gz";
+    sha256 = "1rp3va6akzlh35yqrapfqnbxaxa0zi8wyr93swbapprwh215cpac";
+  };
+
+  buildInputs = [ libxml2 openssl zlib bzip2 ];
+
+  meta = {
+    homepage    = https://code.google.com/p/xar/;
+    description = "Extensible Archiver";
+
+    longDescription =
+      '' The XAR project aims to provide an easily extensible archive format.
+         Important design decisions include an easily extensible XML table of
+         contents for random access to archived files, storing the toc at the
+         beginning of the archive to allow for efficient handling of streamed
+         archives, the ability to handle files of arbitrarily large sizes, the
+         ability to choose independent encodings for individual files in the
+         archive, the ability to store checksums for individual files in both
+         compressed and uncompressed form, and the ability to query the table
+         of content's rich meta-data.
+      '';
+
+    license     = stdenv.lib.licenses.bsd3;
+    maintainers = with stdenv.lib.maintainers; [ copumpkin ];
+    platforms   = stdenv.lib.platforms.all;
+  };
+}