mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
dart.flutter_volume_controller: init
This commit is contained in:
parent
da4bf61402
commit
a2143e6870
@ -2,6 +2,7 @@
|
||||
|
||||
{
|
||||
flutter_secure_storage_linux = callPackage ./flutter-secure-storage-linux { };
|
||||
flutter_volume_controller = callPackage ./flutter_volume_controller { };
|
||||
fvp = callPackage ./fvp { };
|
||||
handy_window = callPackage ./handy-window { };
|
||||
matrix = callPackage ./matrix { };
|
||||
|
@ -0,0 +1,25 @@
|
||||
{
|
||||
stdenv,
|
||||
mdk-sdk,
|
||||
}:
|
||||
|
||||
{ version, src, ... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flutter_volume_controller";
|
||||
inherit version src;
|
||||
inherit (src) passthru;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace linux/CMakeLists.txt \
|
||||
--replace-fail '# Include ALSA' 'find_package(PkgConfig REQUIRED)' \
|
||||
--replace-fail 'find_package(ALSA REQUIRED)' 'pkg_check_modules(ALSA REQUIRED alsa)'
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir $out
|
||||
cp -r ./* $out/
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user