dart.fvp: init

This commit is contained in:
aucub 2024-11-10 05:35:55 +08:00
parent 3690e2cfea
commit da4bf61402
2 changed files with 21 additions and 0 deletions

View File

@ -2,6 +2,7 @@
{
flutter_secure_storage_linux = callPackage ./flutter-secure-storage-linux { };
fvp = callPackage ./fvp { };
handy_window = callPackage ./handy-window { };
matrix = callPackage ./matrix { };
media_kit_libs_linux = callPackage ./media_kit_libs_linux { };

View File

@ -0,0 +1,20 @@
{
stdenv,
mdk-sdk,
}:
{ version, src, ... }:
stdenv.mkDerivation rec {
pname = "fvp";
inherit version src;
inherit (src) passthru;
installPhase = ''
runHook preInstall
mkdir $out
tar -xf ${mdk-sdk.src} -C ./linux
cp -r ./* $out/
runHook postInstall
'';
}