diff options
author | makefu <github@syntax-fehler.de> | 2023-07-28 22:24:15 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2023-07-28 22:24:15 +0200 |
commit | 060a8f28fa1fc648bdf66afb31a5d1efac868837 (patch) | |
tree | 2b354eacc7897365ee45244fe7a51720e0d0333f /makefu/5pkgs/chitubox | |
parent | cbfcc890e3b76d942b927809bf981a5fa7289e6a (diff) |
makefu: move out to own repo, add vacation-note
Diffstat (limited to 'makefu/5pkgs/chitubox')
-rw-r--r-- | makefu/5pkgs/chitubox/default.nix | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/makefu/5pkgs/chitubox/default.nix b/makefu/5pkgs/chitubox/default.nix deleted file mode 100644 index afec1144e..000000000 --- a/makefu/5pkgs/chitubox/default.nix +++ /dev/null @@ -1,67 +0,0 @@ -{ stdenv, autoPatchelfHook, libglvnd -, libgcrypt,zlib,glib,fontconfig,freetype,libdrm -, libxkbcommon -, libpulseaudio -, xorg -, gst_all_1 -, krb5 -, alsaLib -}: -# via https://raw.githubusercontent.com/simon-the-sourcerer-ab/chitubox/main/default.nix -stdenv.mkDerivation rec { - pname = "chitubox"; - - version = "1.9.0"; - - src = builtins.fetchTarball { - #url = "https://sac.chitubox.com/software/download.do?softwareId=17839&softwareVersionId=v${version}&fileName=CHITUBOX_V${version}.tar.gz"; - url = "https://archive.org/download/chitubox-v-1.8.1.tar/CHITUBOX_V${version}.tar.gz"; - sha256 = "1ywcizxdkwlhi8z3jshl3b6ha8iwibssxh8fk7s32h3z8vl8zcl7"; - }; - nativeBuildInputs = [ autoPatchelfHook ]; - - buildInputs = with xorg; [ stdenv.cc.cc.lib libglvnd libgcrypt zlib glib fontconfig freetype libdrm - libxkbcommon libpulseaudio alsaLib - xcbutilwm xcbutilimage xcbutilrenderutil xcbutilkeysyms - gst_all_1.gst-plugins-base gst_all_1.gstreamer krb5 -]; - - buildPhase = '' - mkdir -p bin - mv CHITUBOX bin/chitubox - - # Remove unused stuff - rm AppRun - - # Place resources where ChiTuBox can expect to find them - mkdir ChiTuBox - mv resource ChiTuBox/ - - # Configure Qt paths - cat << EOF > bin/qt.conf - [Paths] - Prefix = $out - Plugins = plugins - Imports = qml - Qml2Imports = qml - EOF - ''; - - installPhase = '' - mkdir -p $out - mv * $out/ - ''; - - autoPatchelfIgnoreMissingDeps=true; - - meta = { - description = "A Revolutionary Tool to Change 3D Printing Processes within One Click"; - homepage = "https://www.chitubox.com"; - license = { - fullName = "ChiTuBox EULA"; - shortName = "ChiTuBox"; - url = "https://www.chitubox.com"; - }; - }; -} - |