wlroots: 0.18.1 -> 0.18.2 (#364488)
[NixPkgs.git] / pkgs / desktops / lomiri / qml / qqc2-suru-style / default.nix
blob967485fcf40326aab9e87a5bdc8fd44dfeba7972
2   stdenv,
3   lib,
4   fetchFromGitLab,
5   gitUpdater,
6   qmake,
7   qtdeclarative,
8   qtquickcontrols2,
9 }:
11 stdenv.mkDerivation (finalAttrs: {
12   pname = "qqc2-suru-style";
13   version = "0.20230630";
15   src = fetchFromGitLab {
16     owner = "ubports";
17     repo = "development/core/qqc2-suru-style";
18     rev = "refs/tags/${finalAttrs.version}";
19     hash = "sha256-kAgHsNWwUWxHg26bTMmlq8m9DR4+ob4pl/oUX7516hM=";
20   };
22   # QMake can't find Qt modules from buildInputs
23   strictDeps = false;
25   nativeBuildInputs = [ qmake ];
27   buildInputs = [
28     qtdeclarative
29     qtquickcontrols2
30   ];
32   dontWrapQtApps = true;
34   passthru.updateScript = gitUpdater { };
36   meta = {
37     description = "Suru Style for QtQuick Controls 2";
38     homepage = "https://gitlab.com/ubports/development/core/qqc2-suru-style";
39     changelog = "https://gitlab.com/ubports/development/core/qqc2-suru-style/-/blob/${finalAttrs.version}/ChangeLog";
40     license = with lib.licenses; [
41       gpl2Plus
42       lgpl3Only
43       cc-by-sa-30
44     ];
45     maintainers = lib.teams.lomiri.members;
46     platforms = lib.platforms.unix;
47   };