lxqt.libfm-qt: 1.4.0 -> 2.0.0

This commit is contained in:
José Romildo 2024-04-18 14:21:39 -03:00
parent 59c0ff043d
commit 26930552b9

View file

@ -1,29 +1,36 @@
{ lib { lib
, mkDerivation , stdenv
, fetchFromGitHub , fetchFromGitHub
, cmake , cmake
, pkg-config , libXdmcp
, libexif
, libfm
, libpthreadstubs
, libxcb
, lxqt-build-tools , lxqt-build-tools
, lxqt-menu-data , lxqt-menu-data
, pcre
, libexif
, xorg
, libfm
, menu-cache , menu-cache
, qtx11extras , pcre
, pkg-config
, qttools , qttools
, wrapQtAppsHook
, gitUpdater , gitUpdater
, version ? "2.0.0"
, qtx11extras ? null
}: }:
mkDerivation rec { stdenv.mkDerivation rec {
pname = "libfm-qt"; pname = "libfm-qt";
version = "1.4.0"; inherit version;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lxqt"; owner = "lxqt";
repo = "libfm-qt"; repo = "libfm-qt";
rev = version; rev = version;
hash = "sha256-QxPYSA7537K+/dRTxIYyg+Q/kj75rZOdzlUsmSdQcn4="; hash = {
"1.4.0" = "sha256-QxPYSA7537K+/dRTxIYyg+Q/kj75rZOdzlUsmSdQcn4=";
"2.0.0" = "sha256-vWkuPdG5KaT6KMr1NJGt7JBUd1z3wROKY79otsrRsuI=";
}."${version}";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -31,19 +38,20 @@ mkDerivation rec {
pkg-config pkg-config
lxqt-build-tools lxqt-build-tools
qttools qttools
wrapQtAppsHook
]; ];
buildInputs = [ buildInputs = [
lxqt-menu-data libXdmcp
pcre
libexif libexif
xorg.libpthreadstubs
xorg.libxcb
xorg.libXdmcp
qtx11extras
libfm libfm
libpthreadstubs
libxcb
lxqt-menu-data
menu-cache menu-cache
]; pcre
] ++ (lib.optionals (lib.versionAtLeast "2.0.0" version) [qtx11extras])
;
passthru.updateScript = gitUpdater { }; passthru.updateScript = gitUpdater { };