34 stdenv.mkDerivation rec {
39 url = "https://github.com/nkallen/plasticity/releases/download/v${version}/Plasticity-${version}-1.x86_64.rpm";
40 hash = "sha256-Pwe1CqprRXqTN93ys247TGrkd0LGKuwrfGmupIN40uU=";
43 passthru.updateScript = ./update.sh;
45 nativeBuildInputs = [ wrapGAppsHook3 autoPatchelfHook rpmextract mesa ];
61 libsForQt5.kde-cli-tools
72 runtimeDependencies = [
75 vulkan-loader #may help with nvidia users
88 # can't find anything on the internet about these files, no clue what they do
89 autoPatchelfIgnoreMissingDeps = [
113 #--use-gl=egl for it to use hardware rendering it seems. Otherwise there are terrible framerates
115 substituteInPlace share/applications/Plasticity.desktop \
116 --replace-fail 'Exec=Plasticity %U' "Exec=Plasticity --use-gl=egl %U"
120 description = "CAD for artists";
121 homepage = "https://www.plasticity.xyz";
122 license = licenses.unfree;
123 mainProgram = "Plasticity";
124 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
125 maintainers = with maintainers; [ imadnyc ];
126 platforms = [ "x86_64-linux" ];