clementine: nixpkgs-fmt

This commit is contained in:
Evils 2021-05-05 17:19:59 +02:00
parent ab3b7e2a12
commit 54ce28e88b

View File

@ -1,8 +1,40 @@
{ lib, mkDerivation, fetchFromGitHub, fetchpatch, boost, cmake, chromaprint, gettext, gst_all_1, liblastfm { lib
, qtbase, qtx11extras, qttools , mkDerivation
, taglib, fftw, glew, qjson, sqlite, libgpod, libplist, usbmuxd, libmtp , fetchFromGitHub
, libpulseaudio, gvfs, libcdio, libechonest, libspotify, pcre, projectm, protobuf , fetchpatch
, qca2, pkg-config, sparsehash, config, makeWrapper, gst_plugins }: , boost
, cmake
, chromaprint
, gettext
, gst_all_1
, liblastfm
, qtbase
, qtx11extras
, qttools
, taglib
, fftw
, glew
, qjson
, sqlite
, libgpod
, libplist
, usbmuxd
, libmtp
, libpulseaudio
, gvfs
, libcdio
, libechonest
, libspotify
, pcre
, projectm
, protobuf
, qca2
, pkg-config
, sparsehash
, config
, makeWrapper
, gst_plugins
}:
let let
withIpod = config.clementine.ipod or false; withIpod = config.clementine.ipod or false;
@ -30,7 +62,11 @@ let
}) })
]; ];
nativeBuildInputs = [ cmake pkg-config makeWrapper ]; nativeBuildInputs = [
cmake
pkg-config
makeWrapper
];
buildInputs = [ buildInputs = [
boost boost
@ -55,10 +91,10 @@ let
sqlite sqlite
taglib taglib
] ]
++ lib.optionals (withIpod) [libgpod libplist usbmuxd] ++ lib.optionals (withIpod) [ libgpod libplist usbmuxd ]
++ lib.optionals (withMTP) [libmtp] ++ lib.optionals (withMTP) [ libmtp ]
++ lib.optionals (withCD) [libcdio] ++ lib.optionals (withCD) [ libcdio ]
++ lib.optionals (withCloud) [sparsehash]; ++ lib.optionals (withCloud) [ sparsehash ];
postPatch = '' postPatch = ''
sed -i src/CMakeLists.txt \ sed -i src/CMakeLists.txt \
@ -138,4 +174,5 @@ let
}; };
}; };
in free in
free