Loading pkgs/development/libraries/qtstyleplugin-kvantum/default.nix +39 −31 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitHub , fetchpatch , cmake , qmake , qtbase , qtsvg , qtx11extras ? null , kwindowsystem ? null , qtwayland , libX11 , libXext , qttools , wrapQtAppsHook , gitUpdater { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, qmake, qtbase, qtsvg, qtx11extras ? null, # Qt 5 only kwindowsystem, qtwayland, libX11, libXext, qttools, wrapQtAppsHook, gitUpdater, , qt6Kvantum ? null qt6Kvantum ? null, }: let isQt5 = lib.versionOlder qtbase.version "6"; in stdenv.mkDerivation (finalAttrs: { pname = "qtstyleplugin-kvantum${lib.optionalString isQt5 "5"}"; version = "1.1.2"; version = "1.1.3"; src = fetchFromGitHub { owner = "tsujan"; repo = "Kvantum"; rev = "V${finalAttrs.version}"; hash = "sha256-1aeXcN9DwPE8CoaxCqCNL9UEcRHJdaKxS7Ivjp3YNN8="; hash = "sha256-x2XsJ26y9y6IF9aY0fmAcvO4zmwLjvE2Lfvzw+GqchM="; }; nativeBuildInputs = [ Loading @@ -38,14 +39,18 @@ stdenv.mkDerivation (finalAttrs: { wrapQtAppsHook ]; buildInputs = [ buildInputs = [ qtbase qtsvg libX11 libXext ] ++ lib.optionals isQt5 [ qtx11extras ] ++ lib.optionals (!isQt5) [ kwindowsystem ] ++ lib.optionals isQt5 [ qtx11extras ] ++ lib.optionals (!isQt5) [ qtwayland ]; qtwayland ]; sourceRoot = "${finalAttrs.src.name}/Kvantum"; Loading Loading @@ -78,11 +83,14 @@ stdenv.mkDerivation (finalAttrs: { rev-prefix = "V"; }; meta = with lib; { meta = { description = "SVG-based Qt5 theme engine plus a config tool and extra themes"; homepage = "https://github.com/tsujan/Kvantum"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ romildo Scrumplex ]; license = lib.licenses.gpl3Plus; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ romildo Scrumplex ]; }; }) Loading
pkgs/development/libraries/qtstyleplugin-kvantum/default.nix +39 −31 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitHub , fetchpatch , cmake , qmake , qtbase , qtsvg , qtx11extras ? null , kwindowsystem ? null , qtwayland , libX11 , libXext , qttools , wrapQtAppsHook , gitUpdater { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, qmake, qtbase, qtsvg, qtx11extras ? null, # Qt 5 only kwindowsystem, qtwayland, libX11, libXext, qttools, wrapQtAppsHook, gitUpdater, , qt6Kvantum ? null qt6Kvantum ? null, }: let isQt5 = lib.versionOlder qtbase.version "6"; in stdenv.mkDerivation (finalAttrs: { pname = "qtstyleplugin-kvantum${lib.optionalString isQt5 "5"}"; version = "1.1.2"; version = "1.1.3"; src = fetchFromGitHub { owner = "tsujan"; repo = "Kvantum"; rev = "V${finalAttrs.version}"; hash = "sha256-1aeXcN9DwPE8CoaxCqCNL9UEcRHJdaKxS7Ivjp3YNN8="; hash = "sha256-x2XsJ26y9y6IF9aY0fmAcvO4zmwLjvE2Lfvzw+GqchM="; }; nativeBuildInputs = [ Loading @@ -38,14 +39,18 @@ stdenv.mkDerivation (finalAttrs: { wrapQtAppsHook ]; buildInputs = [ buildInputs = [ qtbase qtsvg libX11 libXext ] ++ lib.optionals isQt5 [ qtx11extras ] ++ lib.optionals (!isQt5) [ kwindowsystem ] ++ lib.optionals isQt5 [ qtx11extras ] ++ lib.optionals (!isQt5) [ qtwayland ]; qtwayland ]; sourceRoot = "${finalAttrs.src.name}/Kvantum"; Loading Loading @@ -78,11 +83,14 @@ stdenv.mkDerivation (finalAttrs: { rev-prefix = "V"; }; meta = with lib; { meta = { description = "SVG-based Qt5 theme engine plus a config tool and extra themes"; homepage = "https://github.com/tsujan/Kvantum"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ romildo Scrumplex ]; license = lib.licenses.gpl3Plus; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ romildo Scrumplex ]; }; })