1

Unfinished decker derivation

This commit is contained in:
2023-10-15 11:57:55 +02:00
parent 867c5e37b4
commit 33e3d8cdbc
3 changed files with 52 additions and 3 deletions

View File

@ -0,0 +1,44 @@
{
lib,
stdenv,
fetchurl,
autoPatchelfHook,
pkgs,
gcc,
glib,
glibc,
zlib
}:
stdenv.mkDerivation rec {
pname = "decker";
version = "0.13.4";
src = fetchurl {
url = "https://github.com/decker-edu/decker/releases/download/v0.13.4/${pname}-v${version}-Linux-X64";
sha512 = "";
};
nativeBuildInputs = [
autoPatchelfHook
];
dontBuild = true;
buildInputs = [
];
installPhase = ''
runHook preInstall
mkdir -p $out
cp ${pname}-v${version}-Linux-X64 $out/bin/decker
runHook postInstall
'';
meta = with lib; {
description = "A tool to create interactive web-based presentations.";
homepage = "https://decker.cs.tu-dortmund.de";
license = licenses.gpl3Only;
platforms = ["x86_64-linux"];
};
}

View File

@ -13,4 +13,5 @@
spotdl-4_1_6 = pkgs.callPackage ./spotdl-4_1_6 {};
xdg-desktop-portal-termfilechooser = pkgs.callPackage ./xdg-desktop-portal-termfilechooser {};
wiiu-downloader = pkgs.callPackage ./wiiu-downloader {};
decker = pkgs.callPackage ./decker {};
}

View File

@ -297,7 +297,8 @@ rec {
home.packages = with pkgs; [
# CLI Tools
# bat # cat with wings (enabled as program)
# exa # ls in cool (enabled as program)
# exa # ls in cool (enabled as program) # NOTE: Unmaintained
eza
# delta # diffier diff differ (enabled as program)
# fzf # fuzzy find (enabled as program in fish module)
tokei # Text file statistics in a project
@ -364,6 +365,7 @@ rec {
nfs-utils
appimage-run
decker
cool-retro-term
ventoy-full # Bootable USB for many ISOs
@ -391,6 +393,8 @@ rec {
lm_sensors
acpica-tools # Dump ACPI tables etc.
python311
# Web stuff
signal-desktop
# element-desktop # matrix client
@ -446,7 +450,7 @@ rec {
# jetbrains.pycharm-professional
# jetbrains.idea-ultimate
jetbrains.clion # TODO: Use toolbox instead
jetbrains-toolbox
# jetbrains-toolbox
# Media
wacomtablet
@ -628,7 +632,7 @@ rec {
nix-direnv.enable = true;
};
exa.enable = true;
# exa.enable = true; # NOTE: Unmaintained
fzf = {
enable = true;