fwup: 1.5.2 -> 1.8.3
This commit is contained in:
parent
15a64b2fac
commit
4630d6f37b
@ -1,27 +1,68 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, autoreconfHook, makeWrapper, pkg-config
|
{ stdenv
|
||||||
, zlib, lzma, bzip2, mtools, dosfstools, zip, unzip, libconfuse, libsodium
|
, lib
|
||||||
, libarchive, darwin, coreutils }:
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
|
, DiskArbitration
|
||||||
|
, pkg-config
|
||||||
|
, bzip2
|
||||||
|
, libarchive
|
||||||
|
, libconfuse
|
||||||
|
, libsodium
|
||||||
|
, lzma
|
||||||
|
, zlib
|
||||||
|
, coreutils
|
||||||
|
, dosfstools
|
||||||
|
, mtools
|
||||||
|
, unzip
|
||||||
|
, zip
|
||||||
|
, which
|
||||||
|
, xdelta
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fwup";
|
pname = "fwup";
|
||||||
version = "1.5.2";
|
version = "1.8.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fhunleth";
|
owner = "fhunleth";
|
||||||
repo = "fwup";
|
repo = "fwup";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "05sjdlh450hk474a44yr6kz9dzx72jfxpi1krxbd0pdizlmfypsg";
|
sha256 = "sha256-ayfcnIZ7MuBsCy1giwmY2D2C6AukwS+fevmXqGa4c1w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
patches = [ ./fix-testrunner-darwin.patch ];
|
||||||
patches = lib.optional stdenv.isDarwin [ ./fix-testrunner-darwin.patch ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config autoreconfHook makeWrapper ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ zlib lzma bzip2 libconfuse libsodium libarchive ]
|
autoreconfHook
|
||||||
++ lib.optionals stdenv.isDarwin [
|
pkg-config
|
||||||
darwin.apple_sdk.frameworks.DiskArbitration
|
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = [ zip unzip mtools dosfstools coreutils ];
|
|
||||||
|
buildInputs = [
|
||||||
|
bzip2
|
||||||
|
libarchive
|
||||||
|
libconfuse
|
||||||
|
libsodium
|
||||||
|
lzma
|
||||||
|
zlib
|
||||||
|
]
|
||||||
|
++ lib.optionals stdenv.isDarwin [
|
||||||
|
DiskArbitration
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
coreutils
|
||||||
|
dosfstools
|
||||||
|
mtools
|
||||||
|
unzip
|
||||||
|
zip
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
which
|
||||||
|
xdelta
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Configurable embedded Linux firmware update creator and runner";
|
description = "Configurable embedded Linux firmware update creator and runner";
|
||||||
|
@ -2275,7 +2275,9 @@ in
|
|||||||
|
|
||||||
qt-video-wlr = libsForQt5.callPackage ../applications/misc/qt-video-wlr { };
|
qt-video-wlr = libsForQt5.callPackage ../applications/misc/qt-video-wlr { };
|
||||||
|
|
||||||
fwup = callPackage ../tools/misc/fwup { };
|
fwup = callPackage ../tools/misc/fwup {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) DiskArbitration;
|
||||||
|
};
|
||||||
|
|
||||||
fx_cast_bridge = callPackage ../tools/misc/fx_cast { };
|
fx_cast_bridge = callPackage ../tools/misc/fx_cast { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user