Commit Graph

96 Commits

Author SHA1 Message Date
Bernardo Meurer
191189f35f
beets-unstable: unstable-2022-05-08 -> unstable-2022-08-27 2022-08-29 21:34:06 -03:00
Bernardo Meurer
4845c93713 beets: fix external plugins in pluginOverrides 2022-05-31 16:00:02 -07:00
Bernardo Meurer
ddf809d780 beets-unstable: document limit in pluginOverrides 2022-05-10 15:35:46 -07:00
Bernardo Meurer
069410f90b
beets: document pluginOverrides 2022-05-09 12:20:20 -07:00
Bernardo Meurer
06b03f2e6f
beetsPackages: don't prepend names with beets- 2022-05-08 16:23:45 -07:00
Bernardo Meurer
d9910fc928
beets: refactor
Highlights:

* We now have a beets-unstable
* We now run tests for beets-minimal
* We're much more strict about the effects of enabling/disabling plugins
* All patches but one were dropped
* Removal of deprecated nose in favor of pytest
* Art resizing is working better now
2022-05-08 14:52:16 -07:00
Fabian Affolter
135299a1f4 beets: rename requests-oauthlib 2022-03-28 08:17:05 +02:00
Doron Behar
5b12a5ea1a beets: 1.5.0 -> 1.6.0
Refresh patches, remove keyfinder patch as upstream seems to use the
correct keyfinder-cli path, since:
https://github.com/beetbox/beets/pull/3467/files

Remove the doing nothing `imagemagick` in `buildInputs` and add a patch
that makes `beets` use `magick` from Nix' path. The patch can be
disabled along with the reference to imagemagick if it's set to `null`.

Formatting: use 1 line per input.

Remove the unevaluated externalTestArgs.beets - it was moved to
`all-packages.nix`.
2021-12-18 17:33:35 +02:00
Jörg Thalheim
e78c1891d0 beets: fix homepage 2021-08-22 16:08:41 +02:00
R. RyanTM
1735c18f88 beets: unstable-2021-05-13 -> 1.5.0
Remove updateScript.
2021-08-21 15:36:04 +03:00
Sandro Jäckel
1f183abb9e
treewide: remove discogs_client alias 2021-07-22 02:30:58 +02:00
Bernardo Meurer
0ccad642a5
beets: unstable-2021-04-17 -> unstable-2021-05-13 2021-05-13 15:00:45 -07:00
Bernardo Meurer
64252b8996
beets: unstable-2021-03-24 -> unstable-2021-04-17 2021-04-18 22:25:39 -07:00
Bernardo Meurer
e34dafadb2
beets: unstable-2021-03-08 -> unstable-2021-03-24 2021-03-25 20:14:50 -07:00
Bernardo Meurer
2a43b93fee
beets: fix lyrics dependency 2021-03-11 03:19:18 -08:00
Bernardo Meurer
a2492b0831
beetsExternalPlugins.check: remove (broken) 2021-03-08 12:42:29 -08:00
Bernardo Meurer
6beb35e344
beets: unstable-2021-01-29 -> unstable-2021-03-08 2021-03-08 11:29:30 -08:00
Robert Schütz
46aeb3a48d beets: remove Google Play Music support 2021-03-07 16:02:31 +01:00
Sandro Jäckel
3353bf7a16
beets: remove `? null; remove with lib` 2021-03-06 21:02:55 +01:00
sternenseemann
bce37e7542 beets: refactor external plugins into top-level package set
Instead of managing external plugins in the beets derivation, we
introduce a new top-level package set beetsExternalPlugins which the
beets derivation receives as an input. This change doesn't affect how
the beets derivation is built or overridden, so the change won't be
noticed by users, but it makes hydra evaluate and build external plugins
which should benefit users of those plugins and prevent future
regressions as we have experienced (currently on master
beets-alternatives fails to evaluate, but this wasn't picked up by
ofborg nor hydra).
2021-03-03 15:16:31 +01:00
Domen Kožar
52041b5d02
remove myself from a bunch of software I no longer use/maintain 2021-03-03 10:50:26 +00:00
Sandro Jäckel
3484b32ae2
beets: remove unused input 2021-02-22 01:16:22 +01:00
Bernardo Meurer
642fd85cb6
beets: unstable-2020-12-22 -> unstable-2021-01-29 2021-01-31 18:27:56 -08:00
Bernardo Meurer
8094392757
beets: use unstableGitUpdater 2021-01-31 18:27:37 -08:00
Bernardo Meurer
cea2b9eff4 beets: add doronbehar to maintainers 2021-01-03 14:36:54 +02:00
Bernardo Meurer
264b77f005 beets: add lovesegfault to maintainers 2021-01-03 14:36:54 +02:00
Bernardo Meurer
0faf72a557 beets: 1.4.9 -> unstable-2020-12-22
The maintainer has stopped cutting releases[1]. Since the last release,
1.4.9, includes a dependency that is filled with hate speech[2] it's all
the more reason to package the unstable version and eliminate that
requirement.

Moreover a number of fixes, improvements, and features have landed
since.

[1]: https://github.com/beetbox/beets/issues/3625
[2]: https://github.com/NixOS/nixpkgs/pull/90504

Co-authored-by: Doron Behar <doron.behar@gmail.com>
2021-01-03 14:36:53 +02:00
Austin Butler
5d365404ac beets: add extrafiles plugin 2020-09-21 10:33:10 +03:00
Martin Weinelt
d55276d7c6
beets: apply patch to fix incompatibilites with python 3.8
https://github.com/beetbox/beets/pull/3621
https://github.com/python/cpython/pull/20649
2020-08-07 00:45:40 +02:00
Martin Weinelt
a9422ba768 beets: fix werkzeug testcases
Closes #91131
2020-06-20 15:12:57 -07:00
Doron Behar
01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00
Doron Behar
9c3be05166 beets: Quote homepage url 2020-03-25 15:27:55 +02:00
Doron Behar
befbb792b9 pythonPackages.beets: add unconditionally deps needed for checks 2020-03-25 00:21:57 +02:00
Aluísio Augusto Silva Gonçalves
e79af471e7 beets: Fix test to work with mutagen>=1.43 2020-02-14 21:17:38 -08:00
Bernardo Meurer
171ceb38ff
beets.externalPlugins.check: init at 0.12.0 2019-12-14 21:52:21 -08:00
Bernardo Meurer
82b0f7432e
beets: fix absubmit deps 2019-11-17 22:33:26 -08:00
Bruno Bigras
239aafea69 beets: 1.4.7 -> 1.4.9 2019-09-23 00:23:56 -04:00
Frederik Rietdijk
2fcb11a244 Merge staging-next into master 2019-03-01 09:06:20 +01:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Robert Schütz
5124cf7a14 beets: use checkInputs 2019-02-20 20:07:21 +01:00
Jan Tojnar
a51a99c690
gobject-introspection: rename package
camelCase package name was a huge inconsistency in GNOME package set.
2018-12-02 12:42:29 +01:00
aszlig
36efeac21a
beets: Add patch to fix Python 3.7 compatibility
Since 0f38d9669f, the default Python
version for Python 3 is now Python 3.7.

It has been a while since beets had a new release, but the fix for
Python 3.7 is already in master (and it's also rather small), so I
decided to cherry-pick the commit as a patch.

I've built the package along with its tests and they failed at first,
but the errors were unrelated. So I disabled the tests for pylint, as
they're failing right now.

In addition I also needed to temporarily revert
0d2f06ae3a, which supposedly should fix
issues with Python 2 but aparently breaks Python 3 support and during
the beets tests we get a ModuleNotFoundError for the "_gi_gst" module.

However I didn't further investigate why this happens, as I'm time
constrained right now. But after disabling the pylint tests and the
revert of the mentioned gst-python commit, the beets tests succeed.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @jtojnar, @lopsided98 (for introducing the gst-python change)
Cc: @domenkozar, @pjones (other beets maintainers)
2018-11-29 05:10:13 +01:00
aszlig
29e89248bf
beets: Fix building plugins with Python 3
Since the switch to using python3Packages in commit
72934aa94e, the plugins no longer build
because they end up with a mix of Python 2 and Python 3 packages.

The reason for this is that the Beets package itself uses callPackage to
reference the plugins, however the overrides are not applied there and
thus the plugins end up getting pythonPackages from the top-level which
is Python 2 and beets with Python 3 dependencies.

Unfortunately this is not the only reason for the builds to fail,
because both plugins did not actually support Python 3.

For the copyartifacts plugin, the fix is rather easy because we only
need to advance to two more recent commits from upstream, which already
contain fixes for Python 3.

The alternatives plugin on the other hand is not maintained anymore, but
there is a fork at https://github.com/wisp3rwind/beets-alternatives
which has a bunch of fixes. In 2e4aded366
I already backported one of these fixes to the version from
https://github.com/geigerzaehler/beets-alternatives, but for Python 3
support it's a bit more complicated than just one little fix.

So instead of adding another series of patches which replicate the code
base of the fork and become a maintenance burden, I opted to directly
switch to the fork and remove the patch on our side.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @domenkozar, @pjones, @Profpatsch
2018-08-02 01:41:36 +02:00
Robert Schütz
72934aa94e beets: use python3Packages 2018-07-26 12:43:18 +02:00
aszlig
9037f608ae
beets: 1.4.6 -> 1.4.7
The upstream release notes are a bit bigger, so I'm not including it
here. You can find it at:

https://github.com/beetbox/beets/releases/tag/v1.4.7

Originally I wanted to just fix the build, which is currently broken
because a few tests have failed, but the fix for the tests is already
included in the 1.4.7 upstream release[1], so I opted to update instead.

Other than running the tests included in beets (in addition to
building/running tests of the "alternatives" and "copyartifacts"
external plugins) I have made some small queries on my local music
collection, but haven't tested import or any write operation.

[1]: https://github.com/beetbox/beets/commit/8eb50fee33044dea008408423ee

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @domenkozar, @pjones
2018-06-29 21:29:49 +02:00
Johannes Frankenau
836be60200 beets: install zsh completion 2018-05-13 21:33:56 +02:00
Profpatsch
2922bee722 remove profpatsch from maintainer list of a few packages 2018-02-12 06:24:38 +01:00
Gabriel Ebner
3d3acfaf27 beets: ignore failing tests
The unidecode 1.0.22 release changed the asciification slightly.
2018-01-27 10:48:31 +01:00
Frederik Rietdijk
e5fab33efd beets: 1.4.5 -> 1.4.6 2018-01-01 12:55:18 +01:00
aszlig
40b76c8809
beets: Run tests for external plugins
In order to run the tests for the external plugins of beets, we need to
have beets itself as a dependency. So in order to do that, we now pass
beets without plugins and tests to the nativeBuildInputs of the plugins
so that we can run them.

As soon as the plugins are built they become part of the final beets,
which also has tests enabled, so disabling the tests for beets
derivation that is used for external plugin tests is a non-issue here
because they're going to be executed anyway.

Enabling tests for the alternatives plugin is pretty straightforward,
but in order to run tests for the copyartifacts plugin, we need to bump
the source code to the latest Git master.

The reason for this is that the version that was in use until now
required to have the beets source directory alongside of the
copyartifacts source code, but we already have beets available as a
normal dependency.

Updating copyartifacts to latest master largely consists of unit test
changes and a few Python 3 compatibility changes. However, one change
has the biggest stat, which is
sbarakat/beets-copyartifacts@1a0c281da0.

Fortunately, the last change is just moving the implementation to a
newer API from upstream beets and by the looks of the implementation it
seems to break support for moving files. However, reverting this commit
also reveals that moving files was already broken before, so it wouldn't
matter much whether we have this version bump or not.

Tested with the following command:

nix-build -E '(import ./. {}).beets.override {
  enableAlternatives = true;
  enableCopyArtifacts = true;
}'

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @domenkozar, @pjones, @Profpatsch, @michalrus
2017-09-02 02:36:32 +02:00