nixpkgs-suyu/pkgs/applications/maui/index.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

48 lines
770 B
Nix

{ lib
, mkDerivation
, cmake
, extra-cmake-modules
, karchive
, kcoreaddons
, ki18n
, kio
, kirigami2
, mauikit
, mauikit-filebrowsing
, qtmultimedia
, qtquickcontrols2
}:
mkDerivation {
pname = "index-fm";
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace "-Werror" ""
'';
nativeBuildInputs = [
cmake
extra-cmake-modules
];
buildInputs = [
karchive
kcoreaddons
ki18n
kio
kirigami2
mauikit
mauikit-filebrowsing
qtmultimedia
qtquickcontrols2
];
meta = with lib; {
description = "Multi-platform file manager";
mainProgram = "index";
homepage = "https://invent.kde.org/maui/index-fm";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}