mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
yt-dlg: fix build (#338987)
This commit is contained in:
commit
5cf972998e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user