{ inputs = { nixpkgs.url = "github:nixos/nixpkgs"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { nixpkgs, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; in { packages.default = with pkgs; stdenv.mkDerivation rec { pname = "KDE Vinyl theme"; version = "6.10.6"; src = fetchFromGitHub ({ owner = "ekaaty"; repo = "vinyl-theme"; rev = "1cd61262047c94cc1ebd90c654a1e734ae1054db"; sha256 = "maQ+o3MQwNs0UMHzWYuPBQqFS09N+FqXLQodc+c2SnQ="; }); nativeBuildInputs = [ cmake gnumake gcc extra-cmake-modules pkg-config unzip qt6.wrapQtAppsHook ]; buildInputs = [ qt6.full kdePackages.kdecoration kdePackages.plasma5support kdePackages.frameworkintegration kdePackages.kconfigwidgets kdePackages.kconfig kdePackages.kcoreaddons kdePackages.kcrash kdePackages.kdoctools kdePackages.kglobalaccel kdePackages.kguiaddons kdePackages.ki18n kdePackages.kiconthemes kdePackages.kcmutils kdePackages.kio kdePackages.knotifications kdePackages.kpackage kdePackages.kwindowsystem kdePackages.kirigami kdePackages.kwayland kdePackages.kwin kdePackages.libplasma libepoxy inkscape xorg.xcursorgen ]; }; formatter = pkgs.nixfmt-classic; }); }