nixpkgs/pkgs/kde/gear/audiotube/default.nix
K900 ce77225e21 pkgs/kde: init at 6.0.0 / 24.02.0, the Nix bits
This is the thing you want to look at.
2024-02-28 18:49:23 +03:00

53 lines
802 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}"
];
}