1 Commits

Author SHA1 Message Date
github-actions[bot]
ba0d77b255 flake: update inputs
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a918bb3594dd243c2f8534b3be01b3cb4ed35fd1' (2025-08-30)
  → 'github:NixOS/nixpkgs/a672be65651c80d3f592a89b3945466584a22069' (2025-12-05)
2025-12-08 06:52:34 +00:00
3 changed files with 9 additions and 5 deletions

6
flake.lock generated
View File

@@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1765425892,
"narHash": "sha256-jlQpSkg2sK6IJVzTQBDyRxQZgKADC2HKMRfGCSgNMHo=",
"lastModified": 1764947035,
"narHash": "sha256-EYHSjVM4Ox4lvCXUMiKKs2vETUSL5mx+J2FfutM7T9w=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5d6bdbddb4695a62f0d00a3620b37a15275a5093",
"rev": "a672be65651c80d3f592a89b3945466584a22069",
"type": "github"
},
"original": {

View File

@@ -3,7 +3,7 @@
, fetchFromGitHub
, python3
, beets
, wrapGAppsHook3
, wrapGAppsHook
}:
let
@@ -48,7 +48,7 @@ python3.pkgs.buildPythonApplication {
'';
# required for apprise
nativeBuildInputs = [ wrapGAppsHook3 ];
nativeBuildInputs = [ wrapGAppsHook ];
build-system = with python3.pkgs; [ setuptools ];

View File

@@ -6,6 +6,8 @@
, aacSupport ? false
, faac
, alacSupport ? false
, libav
, flacSupport ? false
, flac
, m4aSupport ? false
@@ -18,6 +20,7 @@
}:
assert aacSupport -> faac.meta.available;
assert alacSupport -> libav.meta.available;
assert flacSupport -> flac.meta.available;
assert m4aSupport || mp4Support -> fdk-aac-encoder.meta.available;
assert oggSupport -> vorbis-tools.meta.available;
@@ -45,6 +48,7 @@ python3Packages.buildPythonApplication rec {
]) ++ [
lame
(if flacSupport then flac else null)
(if alacSupport then libav else null)
(if aacSupport then faac else null)
(if (m4aSupport || mp4Support) then fdk-aac-encoder else null)
(if oggSupport then vorbis-tools else null)