Update decker derivation
This commit is contained in:
@ -2,13 +2,21 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
|
fetchFromGitHub,
|
||||||
autoPatchelfHook,
|
autoPatchelfHook,
|
||||||
zlib,
|
zlib,
|
||||||
bzip2,
|
bzip2,
|
||||||
ncurses,
|
ncurses,
|
||||||
gmp
|
gmp
|
||||||
}:
|
}: let
|
||||||
stdenv.mkDerivation rec {
|
resources = fetchFromGitHub {
|
||||||
|
owner = "decker-edu";
|
||||||
|
repo = "decker";
|
||||||
|
rev = "f3a2c918514d59ca611490901926bd078823b93d";
|
||||||
|
sha256 = "sha256-0gTg9TJ06YCF0lJx9+nVa50+GhmPsvgKIeM8DQr7G9I=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
pname = "decker";
|
pname = "decker";
|
||||||
version = "0.13.4";
|
version = "0.13.4";
|
||||||
|
|
||||||
@ -38,16 +46,19 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp decker $out/bin/decker
|
cp decker $out/bin/decker
|
||||||
|
cp -r ${resources}/resource $out/bin/resource
|
||||||
chmod +x $out/bin/decker
|
chmod +x $out/bin/decker
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A tool to create interactive web-based presentations.";
|
description = "A tool to create interactive web-based presentations.";
|
||||||
homepage = "https://decker.cs.tu-dortmund.de";
|
homepage = "https://github.com/decker-edu/decker";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
platforms = ["x86_64-linux"];
|
platforms = ["x86_64-linux"];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -328,6 +328,7 @@ rec {
|
|||||||
d2 # generate diagrams from code
|
d2 # generate diagrams from code
|
||||||
plantuml
|
plantuml
|
||||||
gnuplot # generate function plots
|
gnuplot # generate function plots
|
||||||
|
pdf2svg
|
||||||
# TODO: Latex module with individual packages
|
# TODO: Latex module with individual packages
|
||||||
texlive.combined.scheme-full
|
texlive.combined.scheme-full
|
||||||
# tikzit
|
# tikzit
|
||||||
|
Reference in New Issue
Block a user