Commit b337251b authored by lyranico's avatar lyranico
Browse files

clementine: format

parent e8e3ded6
Loading
Loading
Loading
Loading
+76 −74
Original line number Diff line number Diff line
{ lib
, mkDerivation
, fetchFromGitHub
, boost
, cmake
, chromaprint
, gettext
, gst_all_1
, liblastfm
, qtbase
, qtx11extras
, qttools
, taglib
, fftw
, glew
, qjson
, sqlite
, libgpod
, libplist
, usbmuxd
, libmtp
, libpulseaudio
, gvfs
, libcdio
, pcre
, projectm
, protobuf
, qca-qt5
, pkg-config
, sparsehash
, config
, makeWrapper
, gst_plugins

, util-linux
, libunwind
, libselinux
, elfutils
, libsepol
, orc

, alsa-lib
{
  lib,
  mkDerivation,
  fetchFromGitHub,
  boost,
  cmake,
  chromaprint,
  gettext,
  gst_all_1,
  liblastfm,
  qtbase,
  qtx11extras,
  qttools,
  taglib,
  fftw,
  glew,
  qjson,
  sqlite,
  libgpod,
  libplist,
  usbmuxd,
  libmtp,
  libpulseaudio,
  gvfs,
  libcdio,
  pcre,
  projectm,
  protobuf,
  qca-qt5,
  pkg-config,
  sparsehash,
  config,
  makeWrapper,
  gst_plugins,
  util-linux,
  libunwind,
  libselinux,
  elfutils,
  libsepol,
  orc,
  alsa-lib,
}:

let
@@ -63,7 +62,6 @@ mkDerivation {
    cmake
    pkg-config
    makeWrapper

    util-linux
    libunwind
    libselinux
@@ -72,7 +70,8 @@ mkDerivation {
    orc
  ];

  buildInputs = [
  buildInputs =
    [
      boost
      chromaprint
      fftw
@@ -94,12 +93,15 @@ mkDerivation {
      qttools
      sqlite
      taglib

      alsa-lib
    ]
    # gst_plugins needed for setup-hooks
    ++ gst_plugins
  ++ lib.optionals (withIpod) [ libgpod libplist usbmuxd ]
    ++ lib.optionals (withIpod) [
      libgpod
      libplist
      usbmuxd
    ]
    ++ lib.optionals (withMTP) [ libmtp ]
    ++ lib.optionals (withCD) [ libcdio ]
    ++ lib.optionals (withCloud) [ sparsehash ];