Compare commits
1 Commits
main
...
update_fla
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba0d77b255 |
6
flake.lock
generated
6
flake.lock
generated
@@ -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": {
|
||||
|
||||
@@ -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 ];
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user