Auto Push

main
lzc256 2024-06-02 06:12:08 +08:00
parent 1cc98f5bd1
commit 969f7b726a
1 changed files with 5 additions and 47 deletions

View File

@ -2,50 +2,10 @@
let let
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz"; home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
glslang-submodule = with pkgs; stdenv.mkDerivation { pkgs = import (builtins.fetchTarball {
name = "glslang"; url = "https://github.com/NixOS/nixpkgs/archive/459104f841356362bfb9ce1c788c1d42846b2454.tar.gz";
installPhase = '' }) {};
mkdir -p $out
'';
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "glslang";
rev = "c34bb3b6c55f6ab084124ad964be95a699700d34";
sha256 = "IMROcny+b5CpmzEfvKBYDB0QYYvqC5bq3n1S4EQ6sXc=";
};
};
wallpaper-engine-kde-plugin = with pkgs; stdenv.mkDerivation rec {
pname = "wallpaperEngineKde";
version = "91d8e25c0c94b4919f3d110c1f22727932240b3c";
src = fetchFromGitHub {
owner = "Jelgnum";
repo = "wallpaper-engine-kde-plugin";
rev = version;
hash = "sha256-ff3U/TXr9umQeVHiqfEy38Wau5rJuMeJ3G/CZ9VE++g=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake extra-cmake-modules glslang-submodule pkg-config gst_all_1.gst-libav shaderc
];
buildInputs = [
mpv lz4 vulkan-headers vulkan-tools vulkan-loader
]
++ (with libsForQt5; with qt5; [plasma-framework qtwebsockets qtwebchannel qtx11extras qtdeclarative])
++ [(python3.withPackages (python-pkgs: [ python-pkgs.websockets ]))];
cmakeFlags = [ "-DUSE_PLASMAPKG=ON" ];
dontWrapQtApps = true;
postPatch = ''
rm -rf src/backend_scene/third_party/glslang
ln -s ${glslang-submodule.src} src/backend_scene/third_party/glslang
'';
#Optional informations
meta = with lib; {
description = "Wallpaper Engine KDE plasma plugin";
homepage = "https://github.com/Jelgnum/wallpaper-engine-kde-plugin";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
};
in in
{ {
imports = imports =
@ -70,9 +30,7 @@ in
waypaper waypaper
wallutils wallutils
wineWowPackages.staging wine64Packages.staging
wineWowPackages.unstableFull
wineWowPackages.waylandFull
winePackages.fonts winePackages.fonts