beets-unstable: unstable-2023-10-16 -> unstable-2024-03-01

This commit is contained in:
stalkerhumanoid 2024-03-10 13:44:05 -04:00 committed by Sandro Jäckel
parent 638f69969d
commit 7fd2e73a01
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,6 +1,7 @@
{ lib
, callPackage
, fetchFromGitHub
, fetchPypi
, fetchpatch
, python3Packages
}:
@ -17,11 +18,25 @@
** alternatives = { enable = true; propagatedBuildInputs = [ beetsPackages.alternatives ]; };
** }; }
*/
lib.makeExtensible (self: {
let
legacyMediafilePython3Packages = python3Packages.override {
overrides = self: super: {
mediafile = super.mediafile.overridePythonAttrs (oldAttrs: rec {
version = "0.10.1";
format = "pyproject";
src = fetchPypi {
pname = "mediafile";
inherit version;
hash = "sha256-kpZCoX7lAjuQhiIc6AzcLFHQYCGokNRDOwvVvTLysp8=";
};
});
};
};
in lib.makeExtensible (self: {
beets = self.beets-stable;
beets-stable = callPackage ./common.nix rec {
inherit python3Packages;
python3Packages = legacyMediafilePython3Packages;
# NOTE: ./builtin-plugins.nix and ./common.nix can have some conditionals
# be removed when stable version updates
version = "1.6.0";