Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
106 lines
1.6 KiB
Nix
106 lines
1.6 KiB
Nix
{
|
|
stdenv,
|
|
fetchurl,
|
|
lib,
|
|
cmake,
|
|
extra-cmake-modules,
|
|
pkg-config,
|
|
kdePackages,
|
|
fftw,
|
|
curl,
|
|
ffmpeg,
|
|
gdk-pixbuf,
|
|
gst_all_1,
|
|
libaio,
|
|
libmtp,
|
|
libsysprof-capture,
|
|
libunwind,
|
|
loudmouth,
|
|
lzo,
|
|
lz4,
|
|
mariadb-embedded,
|
|
snappy,
|
|
taglib,
|
|
taglib_extras,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "amarok";
|
|
version = "3.3.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kde/stable/amarok/${finalAttrs.version}/amarok-${finalAttrs.version}.tar.xz";
|
|
hash = "sha256-OW8uqToH25XI+762gNeAai5ZVKUgxSwFZIXBHeYznAE=";
|
|
};
|
|
|
|
outputs = [
|
|
"out"
|
|
"doc"
|
|
];
|
|
|
|
buildInputs = [
|
|
curl
|
|
fftw
|
|
ffmpeg
|
|
gdk-pixbuf
|
|
libaio
|
|
libmtp
|
|
libsysprof-capture
|
|
libunwind
|
|
loudmouth
|
|
lz4
|
|
lzo
|
|
mariadb-embedded
|
|
snappy
|
|
taglib
|
|
taglib_extras
|
|
]
|
|
++ (with kdePackages; [
|
|
qca
|
|
qt5compat
|
|
qtbase
|
|
qtdeclarative
|
|
qtwebengine
|
|
kcmutils
|
|
kcoreaddons
|
|
kdnssd
|
|
kio
|
|
kpackage
|
|
kstatusnotifieritem
|
|
ktexteditor
|
|
threadweaver
|
|
])
|
|
++ (with gst_all_1; [
|
|
gstreamer
|
|
gst-plugins-base
|
|
gst-plugins-good
|
|
]);
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
]
|
|
++ (with kdePackages; [
|
|
extra-cmake-modules
|
|
kdoctools
|
|
qttools
|
|
wrapQtAppsHook
|
|
]);
|
|
|
|
env.LANG = "C.UTF-8";
|
|
|
|
postInstall = ''
|
|
qtWrapperArgs+=(
|
|
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
|
)
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://amarok.kde.org";
|
|
description = "Powerful music player with an intuitive interface";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = [ ];
|
|
mainProgram = "amarok";
|
|
};
|
|
})
|