uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
44
pkgs/tools/archivers/fsarchiver/default.nix
Normal file
44
pkgs/tools/archivers/fsarchiver/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
||||
, zlib, bzip2, lzo, lz4, zstd, xz
|
||||
, libgcrypt, e2fsprogs, util-linux, libgpg-error }:
|
||||
|
||||
let
|
||||
version = "0.8.6";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
pname = "fsarchiver";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fdupoux";
|
||||
repo = "fsarchiver";
|
||||
rev = version;
|
||||
sha256 = "sha256-7AfCI4abcUijobEl6FO+5A/FRwxPkNko44u85WbTwuc=";
|
||||
};
|
||||
|
||||
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 = [ maintainers.etu ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue