mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 21:57:52 +03:00
beets-unstable: unstable-2023-10-16 -> unstable-2024-03-01
This commit is contained in:
parent
638f69969d
commit
7fd2e73a01
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user