3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/archivers/fsarchiver/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
2021-03-14 18:12:53 +00:00
, zlib, bzip2, lzo, lz4, zstd, xz
, libgcrypt, e2fsprogs, util-linux, libgpg-error }:
let
2021-02-28 12:25:16 +00:00
version = "0.8.6";
in stdenv.mkDerivation {
2019-08-13 22:52:01 +01:00
pname = "fsarchiver";
inherit version;
src = fetchFromGitHub {
owner = "fdupoux";
repo = "fsarchiver";
rev = version;
2021-02-28 12:25:16 +00:00
sha256 = "sha256-7AfCI4abcUijobEl6FO+5A/FRwxPkNko44u85WbTwuc=";
};
nativeBuildInputs = [
autoreconfHook pkg-config
];
buildInputs = [
2021-03-14 18:12:53 +00:00
zlib bzip2 xz lzo lz4 zstd xz
libgcrypt e2fsprogs util-linux libgpg-error
];
meta = with lib; {
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.
'';
homepage = "https://www.fsarchiver.org/";
license = licenses.lgpl2;
maintainers = [ maintainers.etu ];
platforms = platforms.linux;
};
}