Files
nixpkgs/pkgs/desktops/lxqt/libfm-qt/default.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

67 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
libXdmcp,
libexif,
libfm,
libpthreadstubs,
libxcb,
lxqt-build-tools,
lxqt-menu-data,
menu-cache,
pkg-config,
qttools,
wrapQtAppsHook,
gitUpdater,
version ? "2.2.0",
qtx11extras ? null,
}:
stdenv.mkDerivation rec {
pname = "libfm-qt";
inherit version;
src = fetchFromGitHub {
owner = "lxqt";
repo = "libfm-qt";
rev = version;
hash =
{
"1.4.0" = "sha256-QxPYSA7537K+/dRTxIYyg+Q/kj75rZOdzlUsmSdQcn4=";
"2.2.0" = "sha256-xLXHwrcMJ8PObZ2qWVZTf9FREcjUi5qtcCJgNHj391Q=";
}
."${version}";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
qttools
wrapQtAppsHook
];
buildInputs = [
libXdmcp
libexif
libfm
libpthreadstubs
libxcb
lxqt-menu-data
menu-cache
]
++ (lib.optionals (lib.versionAtLeast "2.0.0" version) [ qtx11extras ]);
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/lxqt/libfm-qt";
description = "Core library of PCManFM-Qt (Qt binding for libfm)";
license = licenses.lgpl21Plus;
platforms = with platforms; unix;
teams = [ teams.lxqt ];
};
}