adding groups
This commit is contained in:
parent
d0e23dd971
commit
56d9a3ff11
19 changed files with 149 additions and 95 deletions
101
default.nix
101
default.nix
|
@ -1,115 +1,32 @@
|
|||
# { pkgs ? import <nixpkgs> { } }:
|
||||
# with pkgs;
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
# kglobalaccel,
|
||||
# kinit,
|
||||
# kwin,
|
||||
# kio,
|
||||
# kguiaddons,
|
||||
# kcoreaddons,
|
||||
gcc,
|
||||
gnumake,
|
||||
clang,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
pkg-config,
|
||||
wrapQtAppsHook,
|
||||
qtbase,
|
||||
qt5Full,
|
||||
clang-tools,
|
||||
qttools,
|
||||
qtquickcontrols2,
|
||||
qtx11extras,
|
||||
qtmultimedia,
|
||||
karchive,
|
||||
kirigami2,
|
||||
ki18n,
|
||||
kcoreaddons,
|
||||
# lightly-qt,
|
||||
podofo,
|
||||
mpv
|
||||
hugo,
|
||||
go
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "Libre Presenter";
|
||||
pname = "libre-presenter";
|
||||
name = "tfcconnection";
|
||||
pname = "tfcconnection";
|
||||
version = "0.0.1";
|
||||
|
||||
src = ./.;
|
||||
|
||||
nativeBuildInputs = [
|
||||
gcc
|
||||
gnumake
|
||||
clang
|
||||
clang-tools
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
wrapQtAppsHook
|
||||
# gccStdenv
|
||||
# stdenv
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qttools
|
||||
qtquickcontrols2
|
||||
qtx11extras
|
||||
qtmultimedia
|
||||
# qtwayland
|
||||
kirigami2
|
||||
# breeze-icons
|
||||
# breeze-qt5
|
||||
# qqc2-desktop-style
|
||||
karchive
|
||||
ki18n
|
||||
kcoreaddons
|
||||
# lightly-qt
|
||||
podofo
|
||||
mpv
|
||||
# libsForQt5.kconfig
|
||||
# ffmpeg-full
|
||||
# yt-dlp
|
||||
hugo
|
||||
go
|
||||
];
|
||||
|
||||
# preConfigure = ''
|
||||
# # local modulepath=$(kf5-config --install module)
|
||||
# # local datapath=$(kf5-config --install data)
|
||||
# # local servicespath=$(kf5-config --install services)
|
||||
# # substituteInPlace CMakeLists.txt \
|
||||
# # --replace "\''${MODULEPATH}" "$out/''${modulepath#/nix/store/*/}" \
|
||||
# # --replace "\''${DATAPATH}" "$out/''${datapath#/nix/store/*/}"
|
||||
|
||||
# # substituteInPlace CMakeLists.txt \
|
||||
# # --replace "\''${MODULEPATH}" "$out/qt-5.15.3/plugins" \
|
||||
# # --replace "\''${DATAPATH}" "$out/share"
|
||||
# '';
|
||||
|
||||
# postConfigure = ''
|
||||
# substituteInPlace cmake_install.cmake \
|
||||
# --replace "${kdelibs4support}" "$out"
|
||||
|
||||
# '';
|
||||
|
||||
configurePhase = ''
|
||||
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -B build/ .
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
make --dir build/
|
||||
rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/
|
||||
hugo
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mv build/bin/presenter $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
name = "Libre Presenter";
|
||||
description = "A church presentation software made with QT/QML";
|
||||
name = "tfcconnection";
|
||||
description = "TFC Connection Website";
|
||||
homepage = "";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ "chriscochrun" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue