lomiri.qqc2-suru-style: init at 0.20230206

This commit is contained in:
OPNA2608 2023-12-09 20:24:07 +01:00
parent 464e23f7a4
commit 63eb622f72
2 changed files with 45 additions and 0 deletions

View file

@ -25,6 +25,7 @@ let
lomiri-action-api = callPackage ./qml/lomiri-action-api { };
lomiri-settings-components = callPackage ./qml/lomiri-settings-components { };
lomiri-ui-toolkit = callPackage ./qml/lomiri-ui-toolkit { };
qqc2-suru-style = callPackage ./qml/qqc2-suru-style { };
#### Services
biometryd = callPackage ./services/biometryd { };

View file

@ -0,0 +1,44 @@
{ stdenv
, lib
, fetchFromGitLab
, gitUpdater
, qmake
, qtdeclarative
, qtquickcontrols2
}:
stdenv.mkDerivation (finalAttrs: {
pname = "qqc2-suru-style";
version = "0.20230206";
src = fetchFromGitLab {
owner = "ubports";
repo = "development/core/qqc2-suru-style";
rev = finalAttrs.version;
hash = "sha256-ZLPuXnhlR1IDhGnprcdWHLnOeS6ZzVkFhQML0iKMjO8=";
};
# QMake can't find Qt modules from buildInputs
strictDeps = false;
nativeBuildInputs = [
qmake
];
buildInputs = [
qtdeclarative
qtquickcontrols2
];
dontWrapQtApps = true;
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Suru Style for QtQuick Controls 2";
homepage = "https://gitlab.com/ubports/development/core/qqc2-suru-style";
license = with licenses; [ gpl2Plus lgpl3Only cc-by-sa-30 ];
maintainers = teams.lomiri.members;
platforms = platforms.unix;
};
})