diff options
author | Evils <evils.devils@protonmail.com> | 2021-05-05 17:19:59 +0200 |
---|---|---|
committer | Evils <evils.devils@protonmail.com> | 2021-05-20 23:18:00 +0200 |
commit | 54ce28e88b0a96e4b1c1e2ea79d8fdf472704b7b (patch) | |
tree | 26922899f707e94a0cfc7a9233ed8baba4c86ea7 /pkgs/applications/audio | |
parent | ab3b7e2a12e7701e38d750b9ff8703eaea5afeee (diff) |
clementine: nixpkgs-fmt
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/clementine/default.nix | 59 |
1 files changed, 48 insertions, 11 deletions
diff --git a/pkgs/applications/audio/clementine/default.nix b/pkgs/applications/audio/clementine/default.nix index 88d82afa6240f..e58a8c2a62591 100644 --- a/pkgs/applications/audio/clementine/default.nix +++ b/pkgs/applications/audio/clementine/default.nix @@ -1,8 +1,40 @@ -{ lib, mkDerivation, fetchFromGitHub, fetchpatch, 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 }: +{ lib +, mkDerivation +, fetchFromGitHub +, fetchpatch +, 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 withIpod = config.clementine.ipod or false; @@ -30,7 +62,11 @@ let }) ]; - nativeBuildInputs = [ cmake pkg-config makeWrapper ]; + nativeBuildInputs = [ + cmake + pkg-config + makeWrapper + ]; buildInputs = [ boost @@ -55,10 +91,10 @@ let sqlite taglib ] - ++ lib.optionals (withIpod) [libgpod libplist usbmuxd] - ++ lib.optionals (withMTP) [libmtp] - ++ lib.optionals (withCD) [libcdio] - ++ lib.optionals (withCloud) [sparsehash]; + ++ lib.optionals (withIpod) [ libgpod libplist usbmuxd ] + ++ lib.optionals (withMTP) [ libmtp ] + ++ lib.optionals (withCD) [ libcdio ] + ++ lib.optionals (withCloud) [ sparsehash ]; postPatch = '' sed -i src/CMakeLists.txt \ @@ -138,4 +174,5 @@ let }; }; -in free +in +free |