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:
commit
eeb16bd3fa
|
@ -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 { };
|
||||||
|
|
45
pkgs/desktops/lomiri/qml/qqc2-suru-style/default.nix
Normal file
45
pkgs/desktops/lomiri/qml/qqc2-suru-style/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
})
|
Loading…
Reference in a new issue