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
53
pkgs/development/libraries/SDL_audiolib/default.nix
Normal file
53
pkgs/development/libraries/SDL_audiolib/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, SDL2
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "SDL_audiolib";
|
||||
version = "unstable-2022-04-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "realnc";
|
||||
repo = "SDL_audiolib";
|
||||
rev = "908214606387ef8e49aeacf89ce848fb36f694fc";
|
||||
sha256 = "sha256-11KkwIhG1rX7yDFSj92NJRO9L2e7XZGq2gOJ54+sN/A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DUSE_RESAMP_SRC=OFF"
|
||||
"-DUSE_RESAMP_SOXR=OFF"
|
||||
"-DUSE_DEC_DRFLAC=OFF"
|
||||
"-DUSE_DEC_OPENMPT=OFF"
|
||||
"-DUSE_DEC_XMP=OFF"
|
||||
"-DUSE_DEC_MODPLUG=OFF"
|
||||
"-DUSE_DEC_MPG123=OFF"
|
||||
"-DUSE_DEC_SNDFILE=OFF"
|
||||
"-DUSE_DEC_LIBVORBIS=OFF"
|
||||
"-DUSE_DEC_LIBOPUSFILE=OFF"
|
||||
"-DUSE_DEC_MUSEPACK=OFF"
|
||||
"-DUSE_DEC_FLUIDSYNTH=OFF"
|
||||
"-DUSE_DEC_BASSMIDI=OFF"
|
||||
"-DUSE_DEC_WILDMIDI=OFF"
|
||||
"-DUSE_DEC_ADLMIDI=OFF"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Audio decoding, resampling and mixing library for SDL";
|
||||
homepage = "https://github.com/realnc/SDL_audiolib";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue