mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2024-12-29 18:26:34 +01:00
add kde related packages
This commit is contained in:
parent
42fa79f0f3
commit
8b9272581c
3 changed files with 85 additions and 0 deletions
|
@ -115,4 +115,6 @@
|
|||
];
|
||||
installPhase = "mkdir -p $out; cp -R * $out/";
|
||||
};
|
||||
kde-hdr-fix = pkgs.callPackage ./kde-hdr.nix {};
|
||||
kde-wallpaper = pkgs.callPackage ./kde-wallpaper.nix {};
|
||||
}
|
||||
|
|
39
packages/kde-hdr.nix
Normal file
39
packages/kde-hdr.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
meson,
|
||||
# ninja,
|
||||
fetchFromGitHub,
|
||||
vulkan-headers,
|
||||
libX11,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "VK_hdr_layer";
|
||||
version = "0-unstable-";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Zamundaaa";
|
||||
repo = "VK_hdr_layer";
|
||||
rev = "e47dc6da924cd361b0082f5c27fe5e923377bb54";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-wuZdUWMKEM/UCeuZSiNyup2vzo6+KIH9Rpaoc4FARJE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
# ninja
|
||||
];
|
||||
|
||||
buildInputs = [ vulkan-headers libX11 ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
meta = {
|
||||
description = "Hacks to make HDR work in games on KDE";
|
||||
homepage = "https://github.com/Zamundaaa/VK_hdr_layer";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ jopejoe1 ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
44
packages/kde-wallpaper.nix
Normal file
44
packages/kde-wallpaper.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
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
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kdePackages.qtbase
|
||||
];
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue