3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #260892 from OPNA2608/init/lomiri/qqc2-suru-style

lomiri.qqc2-suru-style: init at 0.20230206
This commit is contained in:
Peder Bergebakken Sundt 2024-01-22 23:12:21 +01:00 committed by GitHub
commit eeb16bd3fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 46 additions and 0 deletions

View file

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

View file

@ -0,0 +1,45 @@
{ 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";
changelog = "https://gitlab.com/ubports/development/core/qqc2-suru-style/-/blob/${finalAttrs.version}/ChangeLog";
license = with licenses; [ gpl2Plus lgpl3Only cc-by-sa-30 ];
maintainers = teams.lomiri.members;
platforms = platforms.unix;
};
})