38 lines
509 B
Nix
38 lines
509 B
Nix
{ mkDerivation
|
|
, lib
|
|
, stdenv
|
|
, extra-cmake-modules
|
|
, attr
|
|
, ebook_tools
|
|
, exiv2
|
|
, ffmpeg
|
|
, karchive
|
|
, kcoreaddons
|
|
, ki18n
|
|
, poppler
|
|
, qtbase
|
|
, qtmultimedia
|
|
, taglib
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "kfilemetadata";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = lib.optionals stdenv.isLinux [
|
|
attr
|
|
] ++ [
|
|
ebook_tools
|
|
exiv2
|
|
ffmpeg
|
|
karchive
|
|
kcoreaddons
|
|
ki18n
|
|
poppler
|
|
qtbase
|
|
qtmultimedia
|
|
taglib
|
|
];
|
|
patches = [
|
|
./cmake-install-paths.patch
|
|
];
|
|
}
|