Update yt-dlp
This commit is contained in:
parent
100bb5890a
commit
948605e68f
17
flake.lock
generated
17
flake.lock
generated
@ -618,6 +618,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-yt-dlp-2024": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1716813593,
|
||||||
|
"narHash": "sha256-862V4NORGlvQ6g8Y5ZSBrtosqYep2lXGsywTcV6OvHw=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "528db5fa94041f0b4909a855d8b9fb9b44fa4f5d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "528db5fa94041f0b4909a855d8b9fb9b44fa4f5d",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1716633019,
|
"lastModified": 1716633019,
|
||||||
@ -664,6 +680,7 @@
|
|||||||
"nixfiles-assets": "nixfiles-assets",
|
"nixfiles-assets": "nixfiles-assets",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
|
"nixpkgs-yt-dlp-2024": "nixpkgs-yt-dlp-2024",
|
||||||
"pkg-android-tools": "pkg-android-tools",
|
"pkg-android-tools": "pkg-android-tools",
|
||||||
"rust-overlay": "rust-overlay",
|
"rust-overlay": "rust-overlay",
|
||||||
"stylix": "stylix",
|
"stylix": "stylix",
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
# ^^^^^^^^^^^^^ this part is optional
|
# ^^^^^^^^^^^^^ this part is optional
|
||||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
|
|
||||||
|
nixpkgs-yt-dlp-2024.url = "github:NixOS/nixpkgs/528db5fa94041f0b4909a855d8b9fb9b44fa4f5d";
|
||||||
|
|
||||||
# this seems to be a popular way to declare systems
|
# this seems to be a popular way to declare systems
|
||||||
systems.url = "github:nix-systems/default";
|
systems.url = "github:nix-systems/default";
|
||||||
|
|
||||||
|
@ -13,6 +13,12 @@ let
|
|||||||
in prev.gimp-with-plugins.override { inherit plugins; };
|
in prev.gimp-with-plugins.override { inherit plugins; };
|
||||||
in {
|
in {
|
||||||
gimp-with-plugins = gimp-with-plugins-good;
|
gimp-with-plugins = gimp-with-plugins-good;
|
||||||
|
|
||||||
|
yt-dlp = let
|
||||||
|
pkgs-y = (import nixfiles.inputs.nixpkgs-yt-dlp-2024.outPath) { inherit (prev) system;};
|
||||||
|
in if ((builtins.compareVersions "2024.5.27" prev.yt-dlp.version) == 1)
|
||||||
|
then (final.python3Packages.toPythonApplication pkgs-y.python3Packages.yt-dlp)
|
||||||
|
else prev.yt-dlp;
|
||||||
}
|
}
|
||||||
# # can't optionalAttrs for version checks because it breaks lazy eval and causes infinite recursion
|
# # can't optionalAttrs for version checks because it breaks lazy eval and causes infinite recursion
|
||||||
# // {
|
# // {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user