Advertisement
Guest User

Untitled

a guest
Mar 8th, 2020
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. { stdenv, requireFile, zlib, libpng, libSM, libICE, fontconfig, xorg, libGLU, libGL, alsaLib, dbus, xkeyboardconfig, bc, addOpenGLRunpath }:
  2.  
  3. self: super:
  4. let
  5. orig-houdini-runtime = super.callPackage <nixpkgs/pkgs/applications/misc/houdini/runtime.nix> { };
  6. houdini-runtime = orig-houdini-runtime.overrideAttrs (old: rec {
  7. name = "houdini-runtime-${version}";
  8. version = "18.0.391";
  9. src = super.requireFile rec {
  10. name = "houdini-${version}-linux_x86_64_gcc6.3.tar.gz";
  11. sha256 = "0bcbw8hjrg180wlw34bl085d3vx666j2pzsfdbsxwgrf3lzkx7wk";
  12. message = ''
  13. This nix expression requires that ${name} is already part of the store.
  14. Download it from https://sidefx.com and add it to the nix store with:
  15.  
  16. nix-prefetch-url <URL>
  17.  
  18. This can't be done automatically because you need to create an account on
  19. their website and agree to their license terms before you can download
  20. it. That's what you get for using proprietary software.
  21. '';
  22. };
  23. });
  24. in
  25. {
  26. houdini = super.buildFHSUserEnv rec {
  27. name = "houdini-${houdini-runtime.version}";
  28.  
  29. extraBuildCommands = ''
  30. mkdir -p $out/usr/lib/sesi
  31. '';
  32.  
  33. runScript = "${self.undaemonize}/bin/undaemonize ${houdini-runtime}/bin/houdini";
  34. };
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement