mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 13:08:39 +03:00
anime-downloader: fix bug with qt build
This commit is contained in:
parent
a16b7de65f
commit
1ba2a7f398
@ -1,4 +1,4 @@
|
|||||||
{ lib, python3, aria2, mpv, nodejs, fetchFromGitHub }:
|
{ lib, python3, aria2, mpv, nodejs, qt5, fetchFromGitHub }:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "anime-downloader";
|
pname = "anime-downloader";
|
||||||
@ -11,6 +11,8 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
sha256 = "sha256-Uk2mtsSrb8fCD9JCFzvLBzMEB7ViVDrKPSOKy9ALJ6o=";
|
sha256 = "sha256-Uk2mtsSrb8fCD9JCFzvLBzMEB7ViVDrKPSOKy9ALJ6o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aria2
|
aria2
|
||||||
mpv
|
mpv
|
||||||
@ -31,6 +33,10 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
tabulate
|
tabulate
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
wrapQtApp "$out/bin/anime" --prefix PATH : ${lib.makeBinPath propagatedBuildInputs}
|
||||||
|
'';
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
# FIXME: checks must be disabled because they are lacking the qt env.
|
# FIXME: checks must be disabled because they are lacking the qt env.
|
||||||
# They fail like this, even if built and wrapped with all Qt and runtime dependencies.
|
# They fail like this, even if built and wrapped with all Qt and runtime dependencies.
|
||||||
|
Loading…
Reference in New Issue
Block a user