2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
2024-04-21 15:54:59 +00:00
|
|
|
, stdenv
|
2022-06-16 17:23:12 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, libqtxdg
|
|
|
|
, lxqt-build-tools
|
2024-04-21 15:54:59 +00:00
|
|
|
, qtbase
|
|
|
|
, qtsvg
|
|
|
|
, wrapQtAppsHook
|
2022-10-06 18:32:54 +00:00
|
|
|
, gitUpdater
|
2022-06-16 17:23:12 +00:00
|
|
|
}:
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2022-06-16 17:23:12 +00:00
|
|
|
pname = "qtxdg-tools";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "4.0.0";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxqt";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-w9pFHG+q2oT33Lfg88MUzfWSyvHUgC0Fi2V8XcueJ/Q=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
lxqt-build-tools
|
2024-04-21 15:54:59 +00:00
|
|
|
wrapQtAppsHook
|
2022-06-16 17:23:12 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libqtxdg
|
2024-04-21 15:54:59 +00:00
|
|
|
qtbase
|
|
|
|
qtsvg
|
2022-06-16 17:23:12 +00:00
|
|
|
];
|
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/lxqt/qtxdg-tools";
|
|
|
|
description = "libqtxdg user tools";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "qtxdg-mat";
|
2022-06-16 17:23:12 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = teams.lxqt.members;
|
|
|
|
};
|
|
|
|
}
|