first attempt at adding lightlyshaders permanentlly

This commit is contained in:
Chris Cochrun 2022-05-18 09:20:09 -05:00
parent 61a89f8dca
commit d9ab256bb3
7 changed files with 54 additions and 13 deletions

View file

@ -1,13 +1,28 @@
{
pkgs ? import <nixpkgs> {},
stdenv ? pkgs.stdenv,
lib ? pkgs.lib,
fetchFromGitHub ? pkgs.fetchFromGitHub,
stdenv,
lib,
fetchFromGitHub,
qt5.qtbase,
qt5.qtx11extras,
qt5.qttools,
kglobalaccel,
kinit,
kwin,
kio,
kguiaddons,
kcoreaddons,
systemsettings,
plasma-framework,
cmake,
extra-cmake-modules,
clang,
libepoxy,
xorg.libXdmcp
}:
stdenv.mkDerivation rec {
pname = "LightlyShaders";
version = "0.0.1";
version = "0.0.2";
src = fetchFromGitHub {
owner = "a-parhom";
@ -48,7 +63,7 @@ stdenv.mkDerivation rec {
substituteInPlace CMakeLists.txt \
--replace "\''${MODULEPATH}" "$out/''${modulepath#/nix/store/*/}" \
--replace "\''${DATAPATH}" "$out/''${datapath#/nix/store/*/}" \
--replace "\''${DATAPATH}" "$out/''${servicepath#/nix/store/*/}"
--replace "\''${SERVICEPATH}" "$out/''${servicepath#/nix/store/*/}"
'';
meta = with lib; {