mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
46 lines
1.3 KiB
Nix
46 lines
1.3 KiB
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
|
, zlib, bzip2, lzo, lz4, zstd, xz
|
|
, libgcrypt, e2fsprogs, util-linux, libgpg-error }:
|
|
|
|
let
|
|
version = "0.8.7";
|
|
|
|
in stdenv.mkDerivation {
|
|
pname = "fsarchiver";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fdupoux";
|
|
repo = "fsarchiver";
|
|
rev = version;
|
|
sha256 = "sha256-1ZIqFgB05gV1L7P/AIL4qfYT4cNMp75QElEM64BXyO8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
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 = [ ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "fsarchiver";
|
|
};
|
|
}
|