diff options
author | aszlig <aszlig@nix.build> | 2018-11-29 04:53:39 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-11-29 05:10:15 +0100 |
commit | 887ae75eb22e1929f406adf5bdba5e8d25453755 (patch) | |
tree | 554e21a03ef40cf61f26cced8deb76d602fd141f | |
parent | 36efeac21a63d82da055378c49adb8e01b4efe65 (diff) | |
download | nixlib-887ae75eb22e1929f406adf5bdba5e8d25453755.tar nixlib-887ae75eb22e1929f406adf5bdba5e8d25453755.tar.gz nixlib-887ae75eb22e1929f406adf5bdba5e8d25453755.tar.bz2 nixlib-887ae75eb22e1929f406adf5bdba5e8d25453755.tar.lz nixlib-887ae75eb22e1929f406adf5bdba5e8d25453755.tar.xz nixlib-887ae75eb22e1929f406adf5bdba5e8d25453755.tar.zst nixlib-887ae75eb22e1929f406adf5bdba5e8d25453755.zip |
beets-alternatives: 0.8.2 -> 0.9.0
This introduces the following upstream changes: * The package is now on PyPI * Require at least beets v1.4.7 * Update album art in alternatives when it changes * Python 3 support (Python 2.7 continues to be supported) * Support the format aliases defined by the convert plugin ('wma' and 'vorbis' with current beets) * Bugfix: Explicitly write tags after encoding instead of relying on the encoder to do so * Bugfix: If the formats config option is modified, don't move files if the extension would change, but re-encode I updated this because I was pinged by @wisp3rwind about moving back to @geigerzaehler's repository at [1]. This is what @wisp3rwind wrote in the comment[2] (which was originally directed to @Profpatsch): (I hope you're the one to bug, or at least can ping someone else), I just noticed that you switched the NixOS package to my repository. Would you please switch it back to this repo soon-ish? The code here is better tested, and [3] is handled less elegantly on my fork since it requires changes to the configuration. The latter are undocumented, but whoever has bothered to take a look at the code might end up with (harmless) unused config entries. So in essence we're now back to the original upstream repository again, which I changed to @wisp3rwind's fork in 29e89248bfe74ca8d9d539c7ae441f because it fixed issues with Python 3. Stripping the long_description from setup.py also doesn't seem to be required anymore, but I didn't investigate why (might be because either our Python tooling now sets a default language or the README simply no longer has non-ASCII characters). [1]: https://github.com/geigerzaehler/beets-alternatives [2]: https://github.com/geigerzaehler/beets-alternatives/issues/23 [3]: https://github.com/geigerzaehler/beets-alternatives/pull/27 Signed-off-by: aszlig <aszlig@nix.build>
-rw-r--r-- | pkgs/tools/audio/beets/alternatives-plugin.nix | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/tools/audio/beets/alternatives-plugin.nix b/pkgs/tools/audio/beets/alternatives-plugin.nix index a3e7f9a63d65..04b6a7678e5f 100644 --- a/pkgs/tools/audio/beets/alternatives-plugin.nix +++ b/pkgs/tools/audio/beets/alternatives-plugin.nix @@ -2,20 +2,16 @@ pythonPackages.buildPythonApplication rec { name = "beets-alternatives-${version}"; - version = "0.8.2"; + version = "0.9.0"; src = fetchFromGitHub { repo = "beets-alternatives"; - owner = "wisp3rwind"; + owner = "geigerzaehler"; # This is 0.8.2 with fixes against Beets 1.4.6 and Python 3 compatibility. - rev = "331eb406786a2d4dc3dd721a534225b087474b1e"; - sha256 = "1avds2x5sp72c89l1j52pszprm85g9sm750jh1dhnyvgcbk91cb5"; + rev = "v${version}"; + sha256 = "19160gwg5j6asy8mc21g2kf87mx4zs9x2gbk8q4r6330z4kpl5pm"; }; - postPatch = '' - sed -i -e '/long_description/d' setup.py - ''; - nativeBuildInputs = [ beets pythonPackages.nose ]; checkPhase = "nosetests"; |