uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
50
pkgs/applications/audio/polyphone/default.nix
Normal file
50
pkgs/applications/audio/polyphone/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ stdenv, lib, mkDerivation, fetchFromGitHub, qmake, pkg-config, alsa-lib, libjack2, portaudio, libogg, flac, libvorbis, rtmidi, qtsvg }:
|
||||
|
||||
mkDerivation rec {
|
||||
version = "2.2.0";
|
||||
pname = "polyphone";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "davy7125";
|
||||
repo = "polyphone";
|
||||
rev = version;
|
||||
sha256 = "0w5pidzhpwpggjn5la384fvjzkvprvrnidb06068whci11kgpbp7";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
libjack2
|
||||
portaudio
|
||||
libogg
|
||||
flac
|
||||
libvorbis
|
||||
rtmidi
|
||||
qtsvg
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ qmake pkg-config ];
|
||||
|
||||
preConfigure = ''
|
||||
cd ./sources/
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -d $out/bin
|
||||
install -m755 bin/polyphone $out/bin/
|
||||
'';
|
||||
|
||||
qmakeFlags = [
|
||||
"DEFINES+=USE_LOCAL_STK"
|
||||
"DEFINES+=USE_LOCAL_QCUSTOMPLOT"
|
||||
"INCLUDEPATH+=${libjack2}/include/jack"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
broken = (stdenv.isLinux && stdenv.isAarch64);
|
||||
description = "A soundfont editor for creating musical instruments";
|
||||
homepage = "https://www.polyphone-soundfonts.com/";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.maxdamantus ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue