1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
2 , zlib, bzip2, lzo, lz4, zstd, xz
3 , libgcrypt, e2fsprogs, util-linux, libgpg-error }:
8 in stdenv.mkDerivation {
12 src = fetchFromGitHub {
16 sha256 = "sha256-1ZIqFgB05gV1L7P/AIL4qfYT4cNMp75QElEM64BXyO8=";
20 autoreconfHook pkg-config
24 zlib bzip2 xz lzo lz4 zstd xz
25 libgcrypt e2fsprogs util-linux libgpg-error
29 description = "File system archiver for linux";
31 FSArchiver is a system tool that allows you to save the contents of a
32 file-system to a compressed archive file. The file-system can be restored
33 on a partition which has a different size and it can be restored on a
34 different file-system. Unlike tar/dar, FSArchiver also creates the
35 file-system when it extracts the data to partitions. Everything is
36 checksummed in the archive in order to protect the data. If the archive is
37 corrupt, you just loose the current file, not the whole archive.
39 homepage = "https://www.fsarchiver.org/";
40 license = licenses.lgpl2;
42 platforms = platforms.linux;
43 mainProgram = "fsarchiver";