Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { stdenv, requireFile, zlib, libpng, libSM, libICE, fontconfig, xorg, libGLU, libGL, alsaLib, dbus, xkeyboardconfig, bc, addOpenGLRunpath }:
- self: super:
- let
- orig-houdini-runtime = super.callPackage <nixpkgs/pkgs/applications/misc/houdini/runtime.nix> { };
- houdini-runtime = orig-houdini-runtime.overrideAttrs (old: rec {
- name = "houdini-runtime-${version}";
- version = "18.0.391";
- src = super.requireFile rec {
- name = "houdini-${version}-linux_x86_64_gcc6.3.tar.gz";
- sha256 = "0bcbw8hjrg180wlw34bl085d3vx666j2pzsfdbsxwgrf3lzkx7wk";
- message = ''
- This nix expression requires that ${name} is already part of the store.
- Download it from https://sidefx.com and add it to the nix store with:
- nix-prefetch-url <URL>
- This can't be done automatically because you need to create an account on
- their website and agree to their license terms before you can download
- it. That's what you get for using proprietary software.
- '';
- };
- });
- in
- {
- houdini = super.buildFHSUserEnv rec {
- name = "houdini-${houdini-runtime.version}";
- extraBuildCommands = ''
- mkdir -p $out/usr/lib/sesi
- '';
- runScript = "${self.undaemonize}/bin/undaemonize ${houdini-runtime}/bin/houdini";
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement