1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

yt-dlg: fix build

This commit is contained in:
Zitrone 2024-09-02 13:25:37 +02:00
parent 12228ff175
commit 6c7f4e924e
No known key found for this signature in database
GPG key ID: 54767E8E66ABED22

View file

@ -1,27 +1,9 @@
{
lib,
python3,
python3Packages,
fetchFromGitHub,
fetchPypi
fetchPypi,
}:
let
python3' =
(python3.override {
packageOverrides = final: prev: {
wxpython = prev.wxpython.overrideAttrs rec {
version = "4.2.0";
src = fetchPypi {
pname = "wxPython";
inherit version;
hash = "sha256-ZjzrxFCdfl0RNRiGX+J093+VQ0xdV7w4btWNZc7thsc=";
};
};
};
});
python3Packages = python3'.pkgs;
in
python3Packages.buildPythonApplication rec {
pname = "yt-dlg";
version = "1.8.5";
@ -34,6 +16,7 @@ python3Packages.buildPythonApplication rec {
};
pyproject = true;
pythonRelaxDeps = [ "wxpython" ];
build-system = with python3Packages; [
setuptools
wheel