2021-01-17 10:17:16 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
2018-12-23 20:03:05 +01:00
|
|
|
, zlib, bzip2, lzma, lzo, lz4, zstd, xz
|
2020-11-24 16:29:28 +01:00
|
|
|
, libgcrypt, e2fsprogs, util-linux, libgpgerror }:
|
2018-12-23 20:03:05 +01:00
|
|
|
|
|
|
|
let
|
2021-02-28 13:25:16 +01:00
|
|
|
version = "0.8.6";
|
2018-12-23 20:03:05 +01:00
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "fsarchiver";
|
|
|
|
inherit version;
|
2018-12-23 20:03:05 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fdupoux";
|
|
|
|
repo = "fsarchiver";
|
|
|
|
rev = version;
|
2021-02-28 13:25:16 +01:00
|
|
|
sha256 = "sha256-7AfCI4abcUijobEl6FO+5A/FRwxPkNko44u85WbTwuc=";
|
2018-12-23 20:03:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-17 10:17:16 +01:00
|
|
|
autoreconfHook pkg-config
|
2018-12-23 20:03:05 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
zlib bzip2 lzma lzo lz4 zstd xz
|
2020-11-24 16:29:28 +01:00
|
|
|
libgcrypt e2fsprogs util-linux libgpgerror
|
2018-12-23 20:03:05 +01:00
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-12-23 20:03:05 +01: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-02 09:58:50 +02:00
|
|
|
homepage = "https://www.fsarchiver.org/";
|
2018-12-23 20:03:05 +01:00
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = [ maintainers.etu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|