nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, requireFile, bc }:
2
3let
4 license_dir = "~/.config/houdini";
5in
6stdenv.mkDerivation rec {
7 version = "19.5.569";
8 pname = "houdini-runtime";
9 src = requireFile rec {
10 name = "houdini-${version}-linux_x86_64_gcc9.3.tar.gz";
11 sha256 = "0c2d6a31c24f5e7229498af6c3a7cdf81242501d7a0792e4c33b53a898d4999e";
12 url = meta.homepage;
13 };
14
15 buildInputs = [ bc ];
16 installPhase = ''
17 patchShebangs houdini.install
18 mkdir -p $out
19 ./houdini.install --install-houdini \
20 --install-license \
21 --no-install-menus \
22 --no-install-bin-symlink \
23 --auto-install \
24 --no-root-check \
25 --accept-EULA 2021-10-13 \
26 $out
27 echo "licensingMode = localValidator" >> $out/houdini/Licensing.opt # does not seem to do anything any more. not sure, official docs do not say anything about it
28 '';
29
30 dontFixup = true;
31
32 meta = with lib; {
33 description = "3D animation application software";
34 homepage = "https://www.sidefx.com";
35 license = licenses.unfree;
36 platforms = platforms.linux;
37 hydraPlatforms = [ ]; # requireFile src's should be excluded
38 maintainers = with maintainers; [ canndrew kwohlfahrt ];
39 };
40}