beets: pass in pythonPackages

This commit is contained in:
Frederik Rietdijk 2016-09-26 10:35:49 +02:00
parent 5220ee8db7
commit 18bdd44729

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, writeScript, glibcLocales { stdenv, fetchFromGitHub, writeScript, glibcLocales
, buildPythonApplication, pythonPackages, python, imagemagick , pythonPackages, imagemagick
, enableAcousticbrainz ? true , enableAcousticbrainz ? true
, enableAcoustid ? true , enableAcoustid ? true
@ -72,10 +72,9 @@ let
testShell = "${bashInteractive}/bin/bash --norc"; testShell = "${bashInteractive}/bin/bash --norc";
completion = "${bashCompletion}/share/bash-completion/bash_completion"; completion = "${bashCompletion}/share/bash-completion/bash_completion";
in buildPythonApplication rec { in pythonPackages.buildPythonApplication rec {
name = "beets-${version}"; name = "beets-${version}";
version = "1.3.19"; version = "1.3.19";
namePrefix = "";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sampsyo"; owner = "sampsyo";
@ -93,8 +92,8 @@ in buildPythonApplication rec {
pythonPackages.pathlib pythonPackages.pathlib
pythonPackages.pyyaml pythonPackages.pyyaml
pythonPackages.unidecode pythonPackages.unidecode
python.modules.sqlite3 pythonPackages.python.modules.sqlite3
python.modules.readline pythonPackages.python.modules.readline
] ++ optional enableAcoustid pythonPackages.pyacoustid ] ++ optional enableAcoustid pythonPackages.pyacoustid
++ optional (enableFetchart ++ optional (enableFetchart
|| enableEmbyupdate || enableEmbyupdate