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
44
pkgs/servers/shairport-sync/default.nix
Normal file
44
pkgs/servers/shairport-sync/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, avahi, alsa-lib
|
||||
, libdaemon, popt, pkg-config, libconfig, libpulseaudio, soxr }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.3.9";
|
||||
pname = "shairport-sync";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "sha256-JLgnsLjswj0qus1Vd5ZtPQbbIp3dp2pI7OfQG4JrdW8=";
|
||||
rev = version;
|
||||
repo = "shairport-sync";
|
||||
owner = "mikebrady";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
avahi
|
||||
alsa-lib
|
||||
libdaemon
|
||||
popt
|
||||
libconfig
|
||||
libpulseaudio
|
||||
soxr
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = [
|
||||
"--with-alsa" "--with-pipe" "--with-pa" "--with-stdout"
|
||||
"--with-avahi" "--with-ssl=openssl" "--with-soxr"
|
||||
"--without-configfiles"
|
||||
"--sysconfdir=/etc"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Airtunes server and emulator with multi-room capabilities";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lnl7 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue