2018-05-31 17:33:36 +01:00
|
|
|
{ stdenv, fetchurl, libxml2, openssl, zlib, bzip2, fts }:
|
2014-08-30 22:22:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-08-27 02:34:42 +01:00
|
|
|
version = "1.6.1";
|
2014-08-30 22:22:51 +01:00
|
|
|
name = "xar-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-08-27 02:34:42 +01:00
|
|
|
url = "https://github.com/downloads/mackyle/xar/${name}.tar.gz";
|
|
|
|
sha256 = "0ghmsbs6xwg1092v7pjcibmk5wkyifwxw6ygp08gfz25d2chhipf";
|
2014-08-30 22:22:51 +01:00
|
|
|
};
|
|
|
|
|
2018-05-31 17:33:36 +01:00
|
|
|
buildInputs = [ libxml2 openssl zlib bzip2 fts ];
|
2014-08-30 22:22:51 +01:00
|
|
|
|
|
|
|
meta = {
|
2017-08-27 02:34:42 +01:00
|
|
|
homepage = https://mackyle.github.io/xar/;
|
2014-08-30 22:22:51 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|