nixpkgs/pkgs/applications/misc/houdini/runtime.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
1.2 KiB
Nix
Raw Normal View History

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