File tree Expand file tree Collapse file tree 3 files changed +36
-15
lines changed
Expand file tree Collapse file tree 3 files changed +36
-15
lines changed Original file line number Diff line number Diff line change 1717 advancedrewrite = {
1818 testPaths = [ ] ;
1919 } ;
20+ acousticbrainz = {
21+ deprecated = true ;
22+ propagatedBuildInputs = [ python3Packages . requests ] ;
23+ } ;
2024 albumtypes = { } ;
2125 aura = {
2226 propagatedBuildInputs = with python3Packages ; [
2327 flask
28+ flask-cors
2429 pillow
2530 ] ;
26- testPaths = [ ] ;
2731 } ;
2832 autobpm = {
2933 propagatedBuildInputs = with python3Packages ; [
3034 librosa
3135 # An optional dependency of librosa, needed for beets' autobpm
3236 resampy
3337 ] ;
34- testPaths = [ ] ;
3538 } ;
3639 badfiles = {
3740 testPaths = [ ] ;
7073 export = { } ;
7174 fetchart = {
7275 propagatedBuildInputs = with python3Packages ; [
73- requests
76+ beautifulsoup4
77+ langdetect
7478 pillow
79+ requests
7580 ] ;
7681 wrapperBins = [ imagemagick ] ;
7782 } ;
107112 propagatedBuildInputs = [ python3Packages . requests ] ;
108113 testPaths = [ ] ;
109114 } ;
110- lyrics . propagatedBuildInputs = [ python3Packages . beautifulsoup4 ] ;
115+ lyrics . propagatedBuildInputs = with python3Packages ; [
116+ beautifulsoup4
117+ langdetect
118+ requests
119+ ] ;
111120 mbcollection . testPaths = [ ] ;
112121 mbsubmit = { } ;
113122 mbsync = { } ;
155164 } ;
156165 types . testPaths = [ "test/plugins/test_types_plugin.py" ] ;
157166 unimported . testPaths = [ ] ;
158- web . propagatedBuildInputs = [ python3Packages . flask ] ;
167+ web . propagatedBuildInputs = with python3Packages ; [
168+ flask
169+ flask-cors
170+ ] ;
159171 zero = { } ;
160172}
Original file line number Diff line number Diff line change 7676python3Packages . buildPythonApplication {
7777 pname = "beets" ;
7878 inherit src version ;
79+ pyproject = true ;
7980
8081 patches = extraPatches ;
8182
82- propagatedBuildInputs =
83+ build-system = [
84+ python3Packages . poetry-core
85+ ] ;
86+
87+ dependencies =
8388 with python3Packages ;
8489 [
8590 confuse
@@ -88,10 +93,8 @@ python3Packages.buildPythonApplication {
8893 mediafile
8994 munkres
9095 musicbrainzngs
91- mutagen
92- pygobject3
96+ platformdirs
9397 pyyaml
94- reflink
9598 unidecode
9699 typing-extensions
97100 ]
@@ -146,8 +149,16 @@ python3Packages.buildPythonApplication {
146149
147150 __darwinAllowLocalNetworking = true ;
148151
149- inherit disabledTestPaths ;
150- inherit disabledTests ;
152+ disabledTestPaths = disabledTestPaths ++ [
153+ # touches network
154+ "test/plugins/test_aura.py"
155+ ] ;
156+ disabledTests = disabledTests ++ [
157+ # beets.ui.UserError: unknown command 'autobpm'
158+ "test/plugins/test_autobpm.py::TestAutoBPMPlugin::test_import"
159+ # AssertionError: assert 0 == 117
160+ "test/plugins/test_autobpm.py::TestAutoBPMPlugin::test_command"
161+ ] ;
151162
152163 # Perform extra "sanity checks", before running pytest tests.
153164 preCheck = ''
Original file line number Diff line number Diff line change @@ -22,14 +22,12 @@ lib.makeExtensible (self: {
2222
2323 beets-stable = callPackage ./common.nix rec {
2424 inherit python3Packages ;
25- # NOTE: ./builtin-plugins.nix and ./common.nix can have some conditionals
26- # be removed when stable version updates
27- version = "2.0.0" ;
25+ version = "2.2.0" ;
2826 src = fetchFromGitHub {
2927 owner = "beetbox" ;
3028 repo = "beets" ;
3129 rev = "v${ version } " ;
32- hash = "sha256-6pmImyopy0zFBDYoqDyWcBv61FK1kGsZwW2+7fzAnq8 =" ;
30+ hash = "sha256-jhwXRgUUQJgQ/PLwvY1UfHCJ9UC8DcdBpE/janao0RM =" ;
3331 } ;
3432 extraPatches = [
3533 # Bash completion fix for Nix
You can’t perform that action at this time.
0 commit comments