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:
parent
12228ff175
commit
6c7f4e924e
|
@ -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 a new issue