;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
-;;; Copyright © 2015, 2016, 2017, 2018, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016, 2017, 2018, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2017, 2018 Leo Famulari <leo@famulari.name>
;;; Copyright © 2015 Jeff Mickey <j@codemac.net>
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021 Ahmad Jarara <git@ajarara.io>
;;;
;;; This file is part of GNU Guix.
;;;
(delete-file (string-append out "/include/minizip/crypt.h"))
#t))))))
(native-inputs
- `(("autoconf" ,autoconf)
- ("automake" ,automake)
- ("libtool" ,libtool)))
- (propagated-inputs `(("zlib" ,zlib)))
+ (list autoconf automake libtool))
+ (propagated-inputs (list zlib))
(home-page (package-home-page zlib))
(synopsis "Zip Compression library")
(description
(base32
"0iginbz2m15hcsa3x4y7v3mhk54gr1r7m3ghx0pg4n46vv2snmpi"))))
(build-system gnu-build-system)
- (inputs `(("zlib" ,zlib)))
+ (inputs (list zlib))
(home-page "https://savannah.nongnu.org/projects/fastjar")
(synopsis "Replacement for Sun's 'jar' utility")
(description
(build-system gnu-build-system)
(arguments `(#:tests? #f)) ; no "check" target
(native-inputs
- `(("autoconf" ,autoconf)
- ("automake" ,automake)
- ("libtool" ,libtool)))
+ (list autoconf automake libtool))
(inputs
- `(("zlib" ,zlib)))
+ (list zlib))
(synopsis "C library for manipulating POSIX tar files")
(description
"libtar is a C library for manipulating POSIX tar files. It handles
"1rnvgcdixjzbrmcr1nv9b6ccrjfrhryaj7jwz28yxxv6lam3xlcg"))))
(build-system gnu-build-system)
(inputs
- `(("bzip2" ,bzip2)))
+ (list bzip2))
(arguments
`(#:tests? #f ; no tests
#:phases (modify-phases %standard-phases
(search-input-directory inputs
"share/zoneinfo")))))))
(native-inputs
- `(("tzdata" ,tzdata-for-tests)))
+ (list tzdata-for-tests))
(home-page "https://fragglet.github.com/lhasa/")
(synopsis "LHA archive decompressor")
(description "Lhasa is a replacement for the Unix LHA tool, for
(base32
"0h9gb8q7y54m9mvy3jvsmxf21yx8fc3ylzh418hgbbv0i8mbcwky"))))
(build-system gnu-build-system)
- (inputs `(("lzo" ,lzo)))
+ (inputs (list lzo))
(home-page "https://www.lzop.org/")
(synopsis "Compress or expand files")
(description
(string-append "extern " all)))))))
(build-system gnu-build-system)
(native-inputs
- `(("which" ,which)))
+ (list which))
(arguments
`(#:phases
(modify-phases %standard-phases
(("/usr/local") (assoc-ref outputs "out")))
#t)))))
(inputs
- `(("zlib" ,zlib)))
+ (list zlib))
(home-page "https://github.com/raboof/sfArkLib")
(synopsis "Library for SoundFont decompression")
(description
(("/usr/local") (assoc-ref outputs "out")))
#t)))))
(inputs
- `(("zlib" ,zlib)
- ("sfarklib" ,sfarklib)))
+ (list zlib sfarklib))
(home-page "https://github.com/raboof/sfarkxtc")
(synopsis "Basic sfArk decompressor")
(description "SfArk extractor converts SoundFonts in the compressed legacy
(build-system gnu-build-system)
(outputs (list "out" "static"))
(native-inputs
- `(;; For tests.
- ("python" ,python)
- ("valgrind" ,valgrind)))
+ (list ;; For tests.
+ python valgrind))
(arguments
`(;; Not designed for parallel testing.
;; See https://github.com/lz4/lz4/issues/957#issuecomment-737419821
(define-public squashfs-tools
(package
(name "squashfs-tools")
- (version "4.4-git.1") ; ‘A point release of […] 4.4’
+ (version "4.5")
(source
(origin
(method git-fetch)
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1hb95iy445hs2p3f7hg51jkrpkfi3bphddk60p2la0qmcdjkgbbm"))))
+ (base32 "18d4nwa22vgb8j2badngjngw63f0lj501cvlh3920wqy2mqxwav6"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no check target
`(#:configure-flags
(list "--disable-static")))
(native-inputs
- `(("autoconf" ,autoconf)
- ("automake" ,automake)
- ("libtool" ,libtool)
- ("pkg-config" ,pkg-config)))
+ (list autoconf automake libtool pkg-config))
(inputs
`(("libselinux" ,libselinux)
#:make-flags
(list ,(string-append "CC=" (cc-for-target)))
#:test-target "tests"))
- (inputs `(("zlib" ,zlib)))
+ (inputs (list zlib))
(home-page "https://zlib.net/pigz/")
(synopsis "Parallel implementation of gzip")
(description
"1ifxr18f2h75gkcrkx8033kwmwmrcgxshpaawyc2n4dzn1p2rqz5"))))
(build-system gnu-build-system)
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("libarchive" ,libarchive)))
+ (list pkg-config libarchive))
(home-page "https://github.com/vasi/pixz")
(synopsis "Parallel indexing implementation of LZMA")
(description
(delete-file-recursively dir-name)
#t))))))
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ (list pkg-config))
(inputs
`(("libmspack" ,libmspack)
("libmspack-source" ,(package-source libmspack))))
(define-public libjcat
(package
(name "libjcat")
- (version "0.1.8")
+ (version "0.1.9")
(source
(origin
(method git-fetch)
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "18qkyg19r7fxzv93kar5n808n3582ygjmqwa7rnyg5y4b6hnwihl"))))
+ (base32 "02cgznk6qdylqpcyks6qykmvhpz1pplvnxp72bjzji1y6yj3zpkj"))))
(build-system meson-build-system)
(native-inputs
- `(("gobject-introspection" ,gobject-introspection)
- ("help2man" ,help2man)
- ("pkg-config" ,pkg-config)))
+ (list gobject-introspection help2man pkg-config))
(inputs
- `(("git" ,git)
- ("glib" ,glib)
- ("gnupg" ,gnupg)
- ("gnutls" ,gnutls)
- ("gpgme" ,gpgme)
- ("json-glib" ,json-glib)
- ("vala" ,vala)))
+ (list git
+ glib
+ gnupg
+ gnutls
+ gpgme
+ json-glib
+ vala))
(home-page "https://github.com/hughsie/libjcat")
(synopsis "Library for reading and writing Jcat files")
(description
#t))))
(build-system gnu-build-system)
(native-inputs
- `(("autoconf" ,autoconf)
- ("automake" ,automake)))
+ (list autoconf automake))
(arguments
`(#:phases
(modify-phases %standard-phases
'())
("perl" ,perl)))
(inputs
- `(("bzip2" ,bzip2)
- ("lz4" ,lz4)
- ("lzo" ,lzo)
- ("zlib" ,zlib)))
+ (list bzip2 lz4 lzo zlib))
(home-page "http://ck.kolivas.org/apps/lrzip/")
(synopsis "Large file compressor with a very high compression ratio")
(description "lrzip is a compression utility that uses long-range
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'unpack-third_party-subprojects
- (lambda* (#:key inputs #:allow-other-keys)
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
(with-directory-excursion "third_party"
(for-each (lambda (subproject)
(let* ((input (string-append subproject "-source"))
- (source (assoc-ref inputs input)))
+ (source (assoc-ref (or native-inputs inputs)
+ input)))
(with-directory-excursion subproject
;; Take advantage of the coincidence that both
;; use GIT-FETCH, which creates a directory.
(native-inputs
`(("clang" ,clang-toolchain-6)))
(inputs
- `(("libcxx+libcxxabi" ,libcxx+libcxxabi-6)
- ("libcxxabi" ,libcxxabi-6)))))
+ (list libcxx+libcxxabi-6 libcxxabi-6))))
(define-public p7zip
(package
(install-file "libgzstream.a" lib)
(install-file "gzstream.h" include)
#t))))))
- (propagated-inputs `(("zlib" ,zlib)))
+ (propagated-inputs (list zlib))
(home-page "http://www.cs.unc.edu/Research/compgeom/gzstream/")
(synopsis "Compressed C++ iostream")
(description "gzstream is a small library for providing zlib
functionality in a C++ iostream.")
(license license:lgpl2.1+)))
+(define-public zopfli
+ (package
+ (name "zopfli")
+ (version "1.0.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/zopfli")
+ (commit (string-append name "-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0dr8n4j5nj2h9n208jns56wglw59gg4qm3s7c6y3hs75d0nnkhm4"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f ;no test suite
+ #:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
+ (home-page "https://github.com/google/zopfli")
+ (synopsis "Very good, but slow, deflate or zlib compression")
+ (description "Zopfli Compression Algorithm is a compression library
+programmed in C to perform very good, but slow, deflate or zlib compression.
+ZopfliCompress supports the deflate, gzip and zlib output formats. This
+library can only compress, not decompress; existing zlib or deflate libraries
+can decompress the data.")
+ (license license:asl2.0)))
+
(define-public zpaq
(package
(name "zpaq")
(string-append "PREFIX="
(assoc-ref %outputs "out")))))
(native-inputs
- `(("perl" ,perl))) ; for pod2man
+ (list perl)) ; for pod2man
(home-page "http://mattmahoney.net/dc/zpaq.html")
(synopsis "Incremental journaling archiver")
(description "ZPAQ is a command-line archiver for realistic situations with
(base32 "1k5cw6vnpja8yjlnhx5124xrw9i8s1l539hfdqqrqz3l5gn0bnyd"))
(file-name "unshield-the-feeble-files-spanish.zip")))))
(native-inputs
- `(("unzip" ,unzip)))
+ (list unzip))
(arguments
`(#:out-of-source? #f
#:phases
(base32
"0sb3h3067pzf3a7mlxn1hikpcjrsvycjcnj9hl9b1c3ykcgvps7h"))))
(build-system gnu-build-system)
- (inputs `(("bzip2" ,bzip2)))
+ (inputs (list bzip2))
(arguments
`(#:tests? #f ; no test target
#:make-flags (let ((out (assoc-ref %outputs "out")))
"0i6bpa2b13z19alm6ig80364dnin1w28cvif18k6wkkb0w3dzp8y"))))
(build-system cmake-build-system)
(inputs
- `(("zlib" ,zlib)))
- (native-inputs `(("perl" ,perl) ; for the documentation
- ("pkg-config" ,pkg-config)
- ("python" ,python)
- ("zip" ,zip))) ; to create test files
+ (list zlib))
+ (native-inputs (list perl ; for the documentation
+ pkg-config python zip)) ; to create test files
(synopsis "Library for accessing zip files")
(description
"ZZipLib is a library based on zlib for accessing zip files.")
(base32
"0zn9vaiwy2izj8cnm8i7c2mbdn38n328grqb8f07x55s4kd3nxph"))))
(native-inputs
- `(("perl" ,perl)
- ("pkg-config" ,pkg-config)))
+ (list perl pkg-config))
(inputs
- `(("gnutls" ,gnutls)
- ("liblzma" ,xz)
- ("openssl" ,openssl)
- ("zlib" ,zlib)
- ("zstd:lib" ,zstd "lib")))
+ (list gnutls xz openssl zlib
+ `(,zstd "lib")))
(build-system cmake-build-system)
(home-page "https://libzip.org")
(synopsis "C library for reading, creating, and modifying zip archives")
"/bin/file'")))
#t)))))
(inputs
- `(("perl" ,perl)
- ("file" ,file)))
+ (list perl file))
(home-page "https://www.nongnu.org/atool/")
(synopsis "Universal tool to manage file archives of various types")
(description "The main command is @command{aunpack} which extracts files
(base32 "19zinpx7hssl6r3vilpvq2s7wha3545xan8b0vcvsxnyipdx3n0l"))))
(build-system gnu-build-system)
(inputs
- `(("lzlib" ,lzlib)))
+ (list lzlib))
(home-page "https://www.nongnu.org/lzip/plzip.html")
(synopsis "Parallel lossless data compressor for the lzip format")
(description
(build-system cmake-build-system)
(arguments
`(#:tests? #f))
- (inputs `(("boost" ,boost)
- ("libiconv" ,libiconv)
- ("xz" ,xz)))
- (native-inputs `(("pkg-config" ,pkg-config)))
+ (inputs (list boost xz))
+ (native-inputs (list pkg-config))
(home-page "https://constexpr.org/innoextract/")
(synopsis "Tool for extracting Inno Setup installers")
(description "innoextract allows extracting Inno Setup installers under
non-Windows systems without running the actual installer using wine.")
(license license:zlib)))
+(define-public isa-l
+ (package
+ (name "isa-l")
+ (version "2.30.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/intel/isa-l")
+ ;; Corresponds to tag v2.30.0
+ (commit "2df39cf5f1b9ccaa2973f6ef273857e4dc46f0cf")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "06ymkrf3hkkd94i59ahm79545rk709y8rd0v2l86w38z6is942q0"))))
+ (build-system gnu-build-system)
+ (native-inputs (list autoconf automake libtool nasm))
+ (home-page "https://github.com/intel/isa-l")
+ (synopsis "Intelligent storage acceleration library")
+ (description "ISA-L is a collection of optimized low-level functions
+targeting storage applications. ISA-L includes:
+
+@itemize
+@item Erasure codes: fast block Reed-Solomon type erasure codes for any
+ encode/decode matrix;
+@item CRC: fast implementations of cyclic redundancy check. Six different
+ polynomials supported: iscsi32, ieee32, t10dif, ecma64, iso64, jones64;
+@item Raid: calculate and operate on XOR and P+Q parity found in common RAID
+ implementations;
+@item Compression: fast deflate-compatible data compression;
+@item De-compression: fast inflate-compatible data compression;
+@item igzip: command line application like gzip, accelerated with ISA-L.
+@end itemize
+")
+ (license license:bsd-3)))
+
(define-public brotli
(package
(name "brotli")
(patches (search-patches "upx-CVE-2021-20285.patch"))))
(build-system gnu-build-system)
(native-inputs
- `(("perl" ,perl)))
+ (list perl))
(inputs
- `(("ucl" ,ucl)
- ("zlib" ,zlib)))
+ (list ucl zlib))
(arguments
`(#:make-flags
(list "all")
(arguments
`(#:tests? #f)) ;no test
(native-inputs
- `(("doxygen" ,doxygen)))
+ (list doxygen))
(inputs
- `(("qtbase" ,qtbase-5)
- ("zlib" ,zlib)))
+ (list qtbase-5 zlib))
(home-page "https://stachenov.github.io/quazip/index.html")
(synopsis "Qt/C++ wrapper for Minizip")
(description "QuaZIP is a simple C++ wrapper over Gilles Vollant's
whatever you would like to use on your zipped files.
QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both
-reading from and writing to ZIP archives. ")
+reading from and writing to ZIP archives.")
;; Project is distributed under LGPL, but "quazip/z*" "quazip/unzip.*" are
;; distributed under zlib terms.
(license (list license:lgpl2.1+ license:zlib))))
(package
(inherit quazip-0)
(name "quazip")
- (version "1.1")
+ (version "1.2")
(source
(origin
(method git-fetch)
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "06srglrj6jvy5ngmidlgx03i0d5w91yhi7sf846wql00v8rvhc5h"))))))
+ (base32 "1dwld7jxhjz9l33lrqwvklazdy7ygi6n1m4ry1n1sk5dnschrhby"))))))
(define-public zchunk
(package
(string-append (assoc-ref inputs "zstd")
"/bin/zstd"))))))))
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ (list pkg-config))
(inputs
- `(("curl" ,curl)
- ("zstd" ,zstd)))
+ (list curl zstd))
(propagated-inputs
`(("zstd:lib" ,zstd "lib"))) ;in Requires.private of zck.pc
(home-page "https://github.com/zchunk/zchunk")
make-flags))))))
(native-inputs
;; Needed to extract the source tarball and run the test suite.
- `(("lzip" ,lzip)))
+ (list lzip))
(home-page "https://www.nongnu.org/zutils/zutils.html")
(synopsis "Utilities that transparently operate on compressed files")
(description
(bin (string-append (assoc-ref %outputs "out") "/bin"))
(target (string-append bin "/" name))
(python (string-append (assoc-ref %build-inputs "python") "/bin"))
- (7z (string-append (assoc-ref %build-inputs "p7zip") "/bin/7z"))
- (unzip (string-append (assoc-ref %build-inputs "unzip") "/bin/unzip")))
+ (7z (search-input-file %build-inputs "/bin/7z"))
+ (unzip (search-input-file %build-inputs "/bin/unzip")))
(setenv "PATH" (string-append (getenv "PATH") ":" python))
(mkdir-p bin)
(copy-file source target)
(base32 "00adrjpxqlaccrwjf65w3vhxfswdj0as8aj263c6f9b85llypc5v"))))
(build-system glib-or-gtk-build-system)
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("intltool" ,intltool)
- ("libxslt" ,libxslt)
- ("pkg-config" ,pkg-config)))
+ (list gettext-minimal intltool libxslt pkg-config))
(inputs
- `(("adwaita-icon-theme" ,adwaita-icon-theme) ; hard-coded theme
- ("gtk+" ,gtk+)))
+ (list adwaita-icon-theme ; hard-coded theme
+ gtk+))
(home-page "https://github.com/ib/xarchiver")
(synopsis "Graphical front-end for archive operations")
(description "Xarchiver is a front-end to various command line archiving
(base32
"1ywq8j70149859vvs19wgjq89d6xsvvmvm2n1dmkzpchxgrvnw70"))))
(build-system cmake-build-system)
+ (arguments
+ `(#:configure-flags
+ '("-DDEACTIVATE_AVX2=ON"
+ "-DPREFER_EXTERNAL_LZ4=ON"
+ "-DPREFER_EXTERNAL_SNAPPY=ON"
+ "-DPREFER_EXTERNAL_ZLIB=ON"
+ "-DPREFER_EXTERNAL_ZSTD=ON")))
+ (inputs
+ `(("lz4" ,lz4)
+ ("snappy" ,snappy)
+ ("zlib" ,zlib)
+ ("zstd:lib" ,zstd "lib")))
(home-page "https://blosc.org")
(synopsis "Blocking, shuffling and lossless compression library")
(description
(modify-phases %standard-phases
(delete 'configure))))
(inputs
- `(("zlib" ,zlib)))
+ (list zlib))
(home-page "https://github.com/ebiggers/libdeflate")
(synopsis "Library for DEFLATE/zlib/gzip compression and decompression")
(description "Libdeflate is a library for fast, whole-buffer DEFLATE-based
(base32 "1x5dw03lcwfigcv97cg70gkbkfycjmv1012s9lwnl4izvl9235qg"))))
(build-system gnu-build-system)
(native-inputs
- `(("lzip" ,lzip)))
+ (list lzip))
(inputs
- `(("lzlib" ,lzlib)))
+ (list lzlib))
(home-page "https://www.nongnu.org/lzip/tarlz.html")
(synopsis "Combination of the tar archiver and the lzip compressor")
(description
tar tools like GNU tar, which treat it like any other tar.lz archive. Tarlz
can append files to the end of such compressed archives.")
(license license:gpl2+)))
+
+(define-public libcbor
+ (package
+ (name "libcbor")
+ (version "0.8.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/PJK/libcbor")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256 (base32 "01dv4vxcmbvpphqy16vqiwh25wx11x630js5wfnx7cryarsh9ld7"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:configure-flags
+ (let* ((out (assoc-ref %outputs "out"))
+ (lib (string-append out "/lib")))
+ (list
+ "-DCMAKE_BUILD_TYPE=Release"
+ "-DBUILD_SHARED_LIBS=ON"
+ "-DCBOR_CUSTOM_ALLOC=ON"
+ (string-append "-DCMAKE_INSTALL_LIBDIR=" lib)
+ (string-append "-DCMAKE_INSTALL_RPATH=" lib)))))
+ (synopsis "The C library for parsing and generating CBOR")
+ (description
+ "The Concise Binary Object Representation (CBOR) is a data format whose
+design goals include the possibility of extremely small code size, fairly
+small message size, and extensibility without the need for version
+negotiation. These design goals make it different from earlier binary
+serializations such as ASN.1 and MessagePack.")
+ (license license:expat)
+ (home-page "https://github.com/PJK/libcbor")))
+
+(define-public fcrackzip
+ (package
+ (name "fcrackzip")
+ (version "1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://oldhome.schmorp.de/marc/data/"
+ "fcrackzip-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0l1qsk949vnz18k4vjf3ppq8p497966x4c7f2yx18x8pk35whn2a"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'fix-reference-to-unzip
+ (lambda _
+ (substitute* "main.c"
+ (("\"unzip")
+ (string-append "\"" (which "unzip")))))))))
+ (inputs
+ (list perl unzip))
+ (home-page "http://oldhome.schmorp.de/marc/fcrackzip.html")
+ (synopsis "Zip password cracker")
+ (description "Fcrackzip is a Zip file password cracker.")
+ (license license:gpl2+)))