2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
2021-03-14 18:12:53 +00:00
|
|
|
, zlib, bzip2, lzo, lz4, zstd, xz
|
2021-09-04 20:05:03 +00:00
|
|
|
, libgcrypt, e2fsprogs, util-linux, libgpg-error }:
|
2018-12-23 19:03:05 +00:00
|
|
|
|
|
|
|
let
|
2023-03-24 03:02:25 +00:00
|
|
|
version = "0.8.7";
|
2018-12-23 19:03:05 +00:00
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "fsarchiver";
|
|
|
|
inherit version;
|
2018-12-23 19:03:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fdupoux";
|
|
|
|
repo = "fsarchiver";
|
|
|
|
rev = version;
|
2023-03-24 03:02:25 +00:00
|
|
|
sha256 = "sha256-1ZIqFgB05gV1L7P/AIL4qfYT4cNMp75QElEM64BXyO8=";
|
2018-12-23 19:03:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-17 09:17:16 +00:00
|
|
|
autoreconfHook pkg-config
|
2018-12-23 19:03:05 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-03-14 18:12:53 +00:00
|
|
|
zlib bzip2 xz lzo lz4 zstd xz
|
2021-09-04 20:05:03 +00:00
|
|
|
libgcrypt e2fsprogs util-linux libgpg-error
|
2018-12-23 19:03:05 +00:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-12-23 19:03:05 +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-02 07:58:50 +00:00
|
|
|
homepage = "https://www.fsarchiver.org/";
|
2018-12-23 19:03:05 +00:00
|
|
|
license = licenses.lgpl2;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2018-12-23 19:03:05 +00:00
|
|
|
platforms = platforms.linux;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "fsarchiver";
|
2018-12-23 19:03:05 +00:00
|
|
|
};
|
|
|
|
}
|