nix-conf/packages/kde-wallpaper.nix

43 lines
951 B
Nix
Raw Permalink Normal View History

2024-07-10 22:10:58 +02:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
kdePackages,
}:
stdenv.mkDerivation {
pname = "wallpaper-engine-kde-plugin";
version = "0-unstable-";
src = fetchFromGitHub {
owner = "catsout";
repo = "wallpaper-engine-kde-plugin";
rev = "34f7f01acba3bc8f94d478032cf86aef06b02d26";
hash = "sha256-kuXDLlE//HuM8fJOGjZtsIBDIudR19mhwrBtwhDhN+k=";
};
nativeBuildInputs = [
cmake
kdePackages.extra-cmake-modules
kdePackages.wrapQtAppsHook
];
2024-07-10 23:02:54 +02:00
buildInputs = [ kdePackages.qtbase ];
2024-07-10 22:10:58 +02:00
cmakeFlags = [
"-DECM_DIR=${kdePackages.extra-cmake-modules}/share/ECM/cmake"
"-DQT_MAJOR_VERSION=6"
];
strictDeps = true;
meta = {
description = "Kde wallpaper plugin integrating wallpaper engine";
homepage = "https://github.com/catsout/wallpaper-engine-kde-plugin";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ jopejoe1 ];
platforms = lib.platforms.linux;
};
}