nixpkgs/pkgs/kde/gear/audiotube/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
748 B
Nix
Raw Permalink Normal View History

{
mkKdeDerivation,
qtdeclarative,
qtmultimedia,
qtsvg,
extra-cmake-modules,
futuresql,
kcoreaddons,
kcrash,
ki18n,
kirigami-addons,
kirigami,
kwindowsystem,
purpose,
qcoro,
python3,
2024-09-19 23:54:48 -06:00
}:
let
ps = python3.pkgs;
pythonDeps = [
ps.yt-dlp
ps.ytmusicapi
];
in
2024-09-19 23:54:48 -06:00
mkKdeDerivation {
pname = "audiotube";
2024-09-19 23:54:48 -06:00
extraNativeBuildInputs = [
ps.pybind11
];
2024-09-19 23:54:48 -06:00
extraBuildInputs = [
qtdeclarative
qtmultimedia
qtsvg
2024-09-19 23:54:48 -06:00
extra-cmake-modules
futuresql
kirigami
kirigami-addons
kcoreaddons
ki18n
kcrash
kwindowsystem
purpose
qcoro
] ++ pythonDeps;
2024-09-19 23:54:48 -06:00
qtWrapperArgs = [
"--prefix PYTHONPATH : ${ps.makePythonPath pythonDeps}"
];
meta.mainProgram = "audiotube";
}