fwts: 24.09.00 -> 25.09.00; fix kernel module
This commit is contained in:
@@ -16,16 +16,18 @@
|
|||||||
libbsd,
|
libbsd,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "fwts";
|
pname = "fwts";
|
||||||
version = "24.09.00";
|
version = "25.09.00";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://fwts.ubuntu.com/release/fwts-V${version}.tar.gz";
|
url = "https://fwts.ubuntu.com/release/fwts-V${finalAttrs.version}.tar.gz";
|
||||||
hash = "sha256-ZJSlx8O38e7bJYTgZacayslr28TLHHJsISXq9Uzsnyc=";
|
hash = "sha256-OJI2O9MptckmGj4rTrh9haIGaXJOO3er59yIorbgSVw=";
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sourceRoot = "${finalAttrs.src.name}/fwts-${finalAttrs.version}";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
pkg-config
|
pkg-config
|
||||||
@@ -64,4 +66,4 @@ stdenv.mkDerivation rec {
|
|||||||
license = lib.licenses.gpl2Plus;
|
license = lib.licenses.gpl2Plus;
|
||||||
maintainers = with lib.maintainers; [ tadfisher ];
|
maintainers = with lib.maintainers; [ tadfisher ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
@@ -6,13 +6,13 @@
|
|||||||
kernelModuleMakeFlags,
|
kernelModuleMakeFlags,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "fwts-efi-runtime";
|
pname = "fwts-efi-runtime";
|
||||||
version = "${fwts.version}-${kernel.version}";
|
version = "${fwts.version}-${kernel.version}";
|
||||||
|
|
||||||
inherit (fwts) src;
|
inherit (fwts) src;
|
||||||
|
|
||||||
sourceRoot = "${src.name}/efi_runtime";
|
sourceRoot = "${fwts.sourceRoot}/efi_runtime";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile --replace \
|
substituteInPlace Makefile --replace \
|
||||||
@@ -34,4 +34,4 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = with maintainers; [ dtzWill ];
|
maintainers = with maintainers; [ dtzWill ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user