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
29
pkgs/development/libraries/afflib/default.nix
Normal file
29
pkgs/development/libraries/afflib/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchFromGitHub, zlib, curl, expat, fuse, openssl
|
||||
, autoreconfHook, python3, libiconv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.7.19";
|
||||
pname = "afflib";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sshock";
|
||||
repo = "AFFLIBv3";
|
||||
rev = "v${version}";
|
||||
sha256 = "1qs843yi33yqbp0scqirn753lxzg762rz6xy2h3f8f77fijqj2qb";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ zlib curl expat openssl python3 ]
|
||||
++ lib.optionals (with stdenv; isLinux || isDarwin) [ fuse ]
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://afflib.sourceforge.net/";
|
||||
description = "Advanced forensic format library";
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.bsdOriginal;
|
||||
maintainers = [ lib.maintainers.raskin ];
|
||||
downloadPage = "https://github.com/sshock/AFFLIBv3/tags";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue