Skip to content

Commit

Permalink
lomiri.qqc2-suru-style: nixfmt, modernise abit
Browse files Browse the repository at this point in the history
  • Loading branch information
OPNA2608 committed Oct 11, 2024
1 parent 7fa8326 commit 127dfa6
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions pkgs/desktops/lomiri/qml/qqc2-suru-style/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{ stdenv
, lib
, fetchFromGitLab
, gitUpdater
, qmake
, qtdeclarative
, qtquickcontrols2
{
stdenv,
lib,
fetchFromGitLab,
gitUpdater,
qmake,
qtdeclarative,
qtquickcontrols2,
}:

stdenv.mkDerivation (finalAttrs: {
Expand All @@ -14,16 +15,14 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitLab {
owner = "ubports";
repo = "development/core/qqc2-suru-style";
rev = finalAttrs.version;
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-kAgHsNWwUWxHg26bTMmlq8m9DR4+ob4pl/oUX7516hM=";
};

# QMake can't find Qt modules from buildInputs
strictDeps = false;

nativeBuildInputs = [
qmake
];
nativeBuildInputs = [ qmake ];

buildInputs = [
qtdeclarative
Expand All @@ -34,12 +33,16 @@ stdenv.mkDerivation (finalAttrs: {

passthru.updateScript = gitUpdater { };

meta = with lib; {
meta = {
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;
license = with lib.licenses; [
gpl2Plus
lgpl3Only
cc-by-sa-30
];
maintainers = lib.teams.lomiri.members;
platforms = lib.platforms.unix;
};
})

0 comments on commit 127dfa6

Please sign in to comment.