mirror of
https://github.com/JupiterBroadcasting/CasterSoundboard.git
synced 2025-10-30 03:59:08 +00:00
Add a default.nix for development/building for Nix
This is mainly so that you could easily have a nix-shell with the dependencies set up and also a way to build a package out of it. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
171b5debb7
commit
d891d9adb2
10
default.nix
Normal file
10
default.nix
Normal file
@ -0,0 +1,10 @@
|
||||
with import <nixpkgs> {};
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "CasterSoundboard";
|
||||
src = ./CasterSoundboard;
|
||||
nativeBuildInputs = [ qt5.qmakeHook qt5.makeQtWrapper ];
|
||||
buildInputs = [ qt5.qtmultimedia ];
|
||||
enableParallelBuilding = true;
|
||||
postInstall = "wrapQtProgram \"$out/bin/$name\"";
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user