depot/pkgs/kde/gear/audiotube/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

53 lines
748 B
Nix

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