2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
2020-04-24 23:36:52 +00:00
|
|
|
, zlib, bzip2, lzma, lzo, lz4, zstd, xz
|
2020-11-24 20:58:05 +00:00
|
|
|
, libgcrypt, e2fsprogs, util-linux, libgpgerror }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "0.8.5";
|
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
pname = "fsarchiver";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fdupoux";
|
|
|
|
repo = "fsarchiver";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1rvwq5v3rl14bqxjm1ibfapyicf0sa44nw7451v10kx39lp56ylp";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
zlib bzip2 lzma lzo lz4 zstd xz
|
2020-11-24 20:58:05 +00:00
|
|
|
libgcrypt e2fsprogs util-linux libgpgerror
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "File system archiver for linux";
|
|
|
|
longDescription = ''
|
|
|
|
FSArchiver is a system tool that allows you to save the contents of a
|
|
|
|
file-system to a compressed archive file. The file-system can be restored
|
|
|
|
on a partition which has a different size and it can be restored on a
|
|
|
|
different file-system. Unlike tar/dar, FSArchiver also creates the
|
|
|
|
file-system when it extracts the data to partitions. Everything is
|
|
|
|
checksummed in the archive in order to protect the data. If the archive is
|
|
|
|
corrupt, you just loose the current file, not the whole archive.
|
|
|
|
'';
|
2020-10-07 09:15:18 +00:00
|
|
|
homepage = "https://www.fsarchiver.org/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = [ maintainers.etu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|