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
75
pkgs/applications/audio/yoshimi/default.nix
Normal file
75
pkgs/applications/audio/yoshimi/default.nix
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, alsa-lib
|
||||
, boost
|
||||
, cairo
|
||||
, cmake
|
||||
, fftwSinglePrec
|
||||
, fltk
|
||||
, libGLU
|
||||
, libjack2
|
||||
, libsndfile
|
||||
, libXdmcp
|
||||
, lv2
|
||||
, minixml
|
||||
, pcre
|
||||
, pkg-config
|
||||
, readline
|
||||
, xorg
|
||||
, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "yoshimi";
|
||||
version = "2.1.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Yoshimi";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-6YsA6tC94yJuuWp5rXXqHzqRy28tvmJzjOR92YwQYO0=";
|
||||
};
|
||||
|
||||
sourceRoot = "source/src";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Misc/Config.cpp --replace /usr $out
|
||||
substituteInPlace Misc/Bank.cpp --replace /usr $out
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
boost
|
||||
cairo
|
||||
fftwSinglePrec
|
||||
fltk
|
||||
libGLU
|
||||
libjack2
|
||||
libsndfile
|
||||
libXdmcp
|
||||
lv2
|
||||
minixml
|
||||
pcre
|
||||
readline
|
||||
xorg.libpthreadstubs
|
||||
zlib
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DFLTK_MATH_LIBRARY=${stdenv.cc.libc}/lib/libm.so" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "High quality software synthesizer based on ZynAddSubFX";
|
||||
longDescription = ''
|
||||
Yoshimi delivers the same synthesizer capabilities as
|
||||
ZynAddSubFX along with very good Jack and Alsa midi/audio
|
||||
functionality on Linux
|
||||
'';
|
||||
homepage = "https://yoshimi.github.io/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue