2024-10-11 05:15:48 +00:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
lib,
|
|
|
|
fetchFromGitLab,
|
|
|
|
gitUpdater,
|
|
|
|
qmake,
|
|
|
|
qtdeclarative,
|
|
|
|
qtquickcontrols2,
|
2024-01-25 14:12:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "qqc2-suru-style";
|
2024-10-11 05:15:48 +00:00
|
|
|
version = "0.20230630";
|
2024-01-25 14:12:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "ubports";
|
|
|
|
repo = "development/core/qqc2-suru-style";
|
2024-10-11 05:15:48 +00:00
|
|
|
rev = "refs/tags/${finalAttrs.version}";
|
|
|
|
hash = "sha256-kAgHsNWwUWxHg26bTMmlq8m9DR4+ob4pl/oUX7516hM=";
|
2024-01-25 14:12:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# QMake can't find Qt modules from buildInputs
|
|
|
|
strictDeps = false;
|
|
|
|
|
2024-10-11 05:15:48 +00:00
|
|
|
nativeBuildInputs = [ qmake ];
|
2024-01-25 14:12:00 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtdeclarative
|
|
|
|
qtquickcontrols2
|
|
|
|
];
|
|
|
|
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
|
|
|
passthru.updateScript = gitUpdater { };
|
|
|
|
|
2024-10-11 05:15:48 +00:00
|
|
|
meta = {
|
2024-01-25 14:12:00 +00:00
|
|
|
description = "Suru Style for QtQuick Controls 2";
|
|
|
|
homepage = "https://gitlab.com/ubports/development/core/qqc2-suru-style";
|
|
|
|
changelog = "https://gitlab.com/ubports/development/core/qqc2-suru-style/-/blob/${finalAttrs.version}/ChangeLog";
|
2024-10-11 05:15:48 +00:00
|
|
|
license = with lib.licenses; [
|
|
|
|
gpl2Plus
|
|
|
|
lgpl3Only
|
|
|
|
cc-by-sa-30
|
|
|
|
];
|
|
|
|
maintainers = lib.teams.lomiri.members;
|
|
|
|
platforms = lib.platforms.unix;
|
2024-01-25 14:12:00 +00:00
|
|
|
};
|
|
|
|
})
|