mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
60 lines
1.0 KiB
Nix
60 lines
1.0 KiB
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchFromGitLab
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, applet-window-buttons
|
|
, karchive
|
|
, kcoreaddons
|
|
, ki18n
|
|
, kio
|
|
, kirigami2
|
|
, mauikit
|
|
, mauikit-filebrowsing
|
|
, qtmultimedia
|
|
, qtquickcontrols2
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "index-fm";
|
|
version = "2.1.1";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "invent.kde.org";
|
|
owner = "maui";
|
|
repo = "index-fm";
|
|
rev = "v${version}";
|
|
hash = "sha256-F4qgewkPxkbAbeR+MaeRDiw9KIsd/Xx4C0cYEYDkPOE=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace CMakeLists.txt \
|
|
--replace "-Werror" ""
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
extra-cmake-modules
|
|
];
|
|
|
|
buildInputs = [
|
|
applet-window-buttons
|
|
karchive
|
|
kcoreaddons
|
|
ki18n
|
|
kio
|
|
kirigami2
|
|
mauikit
|
|
mauikit-filebrowsing
|
|
qtmultimedia
|
|
qtquickcontrols2
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Multi-platform file manager";
|
|
homepage = "https://invent.kde.org/maui/index-fm";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|