at 18.09-beta 34 lines 1.3 kB view raw
1{ stdenv, fetchurl, libxml2, openssl, zlib, bzip2, fts }: 2 3stdenv.mkDerivation rec { 4 version = "1.6.1"; 5 name = "xar-${version}"; 6 7 src = fetchurl { 8 url = "https://github.com/downloads/mackyle/xar/${name}.tar.gz"; 9 sha256 = "0ghmsbs6xwg1092v7pjcibmk5wkyifwxw6ygp08gfz25d2chhipf"; 10 }; 11 12 buildInputs = [ libxml2 openssl zlib bzip2 fts ]; 13 14 meta = { 15 homepage = https://mackyle.github.io/xar/; 16 description = "Extensible Archiver"; 17 18 longDescription = 19 '' The XAR project aims to provide an easily extensible archive format. 20 Important design decisions include an easily extensible XML table of 21 contents for random access to archived files, storing the toc at the 22 beginning of the archive to allow for efficient handling of streamed 23 archives, the ability to handle files of arbitrarily large sizes, the 24 ability to choose independent encodings for individual files in the 25 archive, the ability to store checksums for individual files in both 26 compressed and uncompressed form, and the ability to query the table 27 of content's rich meta-data. 28 ''; 29 30 license = stdenv.lib.licenses.bsd3; 31 maintainers = with stdenv.lib.maintainers; [ copumpkin ]; 32 platforms = stdenv.lib.platforms.all; 33 }; 34}