2021-09-18 10:52:07 +00:00
|
|
|
{ lib, stdenv, requireFile, bc }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
license_dir = "~/.config/houdini";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "18.5.596";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "houdini-runtime";
|
|
|
|
src = requireFile rec {
|
2021-09-18 10:52:07 +00:00
|
|
|
name = "houdini-py3-${version}-linux_x86_64_gcc6.3.tar.gz";
|
|
|
|
sha256 = "1b1k7rkn7svmciijqdwvi9p00srsf81vkb55grjg6xa7fgyidjx1";
|
2021-07-03 03:11:41 +00:00
|
|
|
url = meta.homepage;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ bc ];
|
|
|
|
installPhase = ''
|
|
|
|
patchShebangs houdini.install
|
|
|
|
mkdir -p $out
|
|
|
|
./houdini.install --install-houdini \
|
2021-09-18 10:52:07 +00:00
|
|
|
--install-license \
|
2020-04-24 23:36:52 +00:00
|
|
|
--no-install-menus \
|
|
|
|
--no-install-bin-symlink \
|
|
|
|
--auto-install \
|
|
|
|
--no-root-check \
|
2021-09-18 10:52:07 +00:00
|
|
|
--accept-EULA 2020-05-05 \
|
2020-04-24 23:36:52 +00:00
|
|
|
$out
|
2021-09-18 10:52:07 +00:00
|
|
|
echo "licensingMode = localValidator" >> $out/houdini/Licensing.opt
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
dontFixup = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "3D animation application software";
|
|
|
|
homepage = "https://www.sidefx.com";
|
2021-09-18 10:52:07 +00:00
|
|
|
license = licenses.unfree;
|
|
|
|
platforms = platforms.linux;
|
2021-02-05 17:12:51 +00:00
|
|
|
hydraPlatforms = [ ]; # requireFile src's should be excluded
|
2021-09-18 10:52:07 +00:00
|
|
|
maintainers = with maintainers; [ canndrew kwohlfahrt ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|