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
35
pkgs/applications/audio/jackmix/default.nix
Normal file
35
pkgs/applications/audio/jackmix/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ mkDerivation, lib, fetchFromGitHub, pkg-config, sconsPackages, qtbase, lash, libjack2, jack ? libjack2, alsa-lib }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "jackmix";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kampfschlaefer";
|
||||
repo = "jackmix";
|
||||
rev = version;
|
||||
sha256 = "0p59411vk38lccn24r7nih10jpgg9i46yc26zpc3x13amxwwpd4h";
|
||||
};
|
||||
|
||||
patches = [ ./no_error.patch ];
|
||||
|
||||
nativeBuildInputs = [ sconsPackages.scons_3_1_2 pkg-config ];
|
||||
buildInputs = [
|
||||
qtbase
|
||||
lash
|
||||
jack
|
||||
alsa-lib
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -D jackmix/jackmix $out/bin/jackmix
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Matrix-Mixer for the Jack-Audio-connection-Kit";
|
||||
homepage = "https://github.com/kampfschlaefer/jackmix";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ kampfschlaefer ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
13
pkgs/applications/audio/jackmix/no_error.patch
Normal file
13
pkgs/applications/audio/jackmix/no_error.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/SConstruct b/SConstruct
|
||||
index 8bf6517..a432aa9 100644
|
||||
--- a/SConstruct
|
||||
+++ b/SConstruct
|
||||
@@ -16,7 +16,7 @@ env = Environment(
|
||||
env.Replace(LIBS="")
|
||||
env.Replace(LIBPATH="")
|
||||
|
||||
-env.MergeFlags(['-Wall', '-Werror', '-g', '-fpic', '-std=c++11'])
|
||||
+env.MergeFlags(['-g', '-fpic', '-std=c++11'])
|
||||
|
||||
tests = {}
|
||||
tests.update(env['PKGCONFIG_TESTS'])
|
||||
Loading…
Add table
Add a link
Reference in a new issue