Commit graph

162 commits

Author SHA1 Message Date
Andrew Marshall f5911e4068
blender: Add Python to passthru for use in addon drvs (#230884)
Blender addons that have native extensions need to be built against the
same Python that Blender was built with. This makes it easier to write
such addon derivations.
2023-05-22 17:06:34 -04:00
yakrobat 01a31b8c2d
blender: enable wayland 2023-05-14 00:31:22 +03:00
lucasew fd34bc39e4 blender-with-packages: refactor
Signed-off-by: lucasew <lucas59356@gmail.com>
2023-05-10 21:49:56 -03:00
Pauan 8c32a5b2ce
blender 3.4.1 -> 3.5.1 (#229570) 2023-05-04 02:02:14 -04:00
Andrew Marshall 3c4933f090 blender: mark broken on darwin
Has been broken likely since edcd3849a6.

First failing Hydra: https://hydra.nixos.org/build/211894618

Notes from attempt to fix:

- The initial breakage may be easy to fix, but the upgrade to 3.4 added
  a lot more hurdles
- The patch fails to apply, but is trivially naïvely fixable
- At least some of the existing darwin-specific substituteInPlace no
  longer find anything
- When building with naïve fix for patch, fails with:
   > Could NOT find USD (missing: USD_LIBRARY USD_INCLUDE_DIR)
  for reasons that are not clear to me

The package has been broken for two months and no open issues, so
marking as broken as it’s not going to fix itself and if there is will
to fix it, someone can. For now, leaving the darwin conditionals in
place so not as to make a would-be-fixer’s job harder.
2023-05-02 20:01:13 -04:00
Sandro Jäckel 0313eb4795
blender: patch removed numpy attribute 2023-04-23 20:08:58 +02:00
Artturin eac28f38d6 treewide: fix lints
Arg to lib.optional is a list

build time tool in buildInputs

*Flags not a list

https://github.com/nix-community/nixpkgs-lint
2023-04-18 20:20:56 +03:00
Matthew Croughan c0615e86d1
blender: allow dynamically linked embree (#225168) 2023-04-07 16:24:54 -04:00
Matthew Croughan da6f3042c9
blender: add aarch64-linux support (#224771) 2023-04-05 15:44:24 -04:00
Pauan 92f28daede
blender: 3.3.1 -> 3.4.1 (#223478) 2023-03-28 17:45:26 -04:00
Tobias Markus edcd3849a6 blender: Fix build after changes in Alembic package 2023-03-09 23:59:44 +01:00
Artturin f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Felix Buehler cdb39a86e0 treewide: use optionalString 2023-02-13 21:52:34 +01:00
Shawn8901 0a1dd3ced1 treewide: remove global with lib; in pkgs/{misc,networking} 2023-01-24 17:29:20 +01:00
Robert Scott a1deb65b09 openimageio: default to openimageio2, rename 1.x to openimageio_1
keep a couple of packages "using" openimageio_1 - both are broken
anyway, but as such we have no evidence that they work with 2.x.
all are liable to get removed in the near future anyway.
2023-01-05 20:26:49 +00:00
yvt 1f8dd05e72
blender: add libwebp to buildInputs (#208201)
Enables the WebP image format support in Blender. It has been [supported](https://developer.blender.org/rB4fd0a69d7ba) since Blender 3.2 but was disabled due to libwebp missing from the build inputs.

    $ nix build nixpkgs#blender
    $ nix log (realpath result)
    ...
    -- Could NOT find WebP (missing: _webp_LIBRARIES WEBP_INCLUDE_DIR)
    CMake Warning at build_files/cmake/platform/platform_unix.cmake:407 (message):
      WebP not found, disabling WITH_IMAGE_WEBP
    Call Stack (most recent call first):
      CMakeLists.txt:1058 (include)
2022-12-30 19:38:54 -05:00
Dmitry Kalinkin bb498e0202
blender: fix on darwin (#200185) 2022-11-28 17:09:31 -05:00
Infinidoge d09843bf11 blender: 3.3.0 -> 3.3.1 2022-10-30 11:22:53 +01:00
Artturin 7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Pauan 9717e20f4b
blender: 3.2.0 -> 3.3.0 (#190732) 2022-09-12 19:07:07 -04:00
Sebastian Neubauer a3c401f35e
blender-hip: add blender with hip support (#187241) 2022-08-19 15:01:57 -04:00
Dmitry Kalinkin 007c4341fe
blender: fix on darwin 2022-07-07 11:57:28 -04:00
pennae 9a10ab2b3c blender: 3.1.0 -> 3.2.0 2022-06-14 11:43:23 +02:00
Rick van Schijndel 117ee3af2a
blender: mark broken on all darwins 2022-05-30 13:42:58 +02:00
Rick van Schijndel 53d8d81656 blender: mark broken on x86_64-darwin 2022-05-29 10:56:03 +02:00
Frederik Rietdijk 1d63f89caa cudaPackages: overhaul of how we package cuda packages
There are many different versions of the `cudatoolkit` and related
cuda packages, and it can be tricky to ensure they remain compatible.

- `cudaPackages` is now a package set with `cudatoolkit`, `cudnn`, `cutensor`, `nccl`, as well as `cudatoolkit` split into smaller packages ("redist");
- expressions should now use `cudaPackages` as parameter instead of the individual cuda packages;
- `makeScope` is now used, so it is possible to use `.overrideScope'` to set e.g. a different `cudnn` version;
- `release-cuda.nix` is introduced to easily evaluate cuda packages using hydra.
2022-04-09 08:50:22 +02:00
pennae e2f381b2f1
blender: 2.93.5 -> 3.1.0 (#164987)
blender 3.1 now requires python 3.10 and zstd to build. also pin
cudatoolkit to 11 and optix to 7.3 as requested by the blender build
instructions for 3.1
2022-03-20 16:30:54 -04:00
lucasew 56b407d573 blender-with-packages: add wrapper to load python packages with blender
Signed-off-by: lucasew <lucas59356@gmail.com>
2022-01-13 11:07:25 -03:00
Maximilian Bosch 0609c19992
Merge pull request #141273 from pennae/blender-update
blender: 2.93.2 -> 2.93.5
2021-10-22 19:16:06 +02:00
pennae b0dc5823fa blender: 2.93.2 -> 2.93.5 2021-10-11 18:27:48 +02:00
happysalada 731d67683c blender: darwin app dir fixes 2021-10-02 13:38:46 +09:00
happysalada e4baf44922 blender: darwin add Applications and bin symlinks 2021-09-21 23:38:19 +09:00
Ilan Joselevich 94551d296e blender: 2.93.1 -> 2.93.2 2021-08-13 21:13:03 +03:00
Dmitry Kalinkin 520c2971d1
blender: 2.93.0 -> 2.93.1 2021-07-11 10:18:46 -04:00
Daniel Nagy d847851a37
blender: add libharu as dependency
This allows to export Grease Pencil drawings as pdfs. For more
information, see:

https://wiki.blender.org/wiki/Reference/Release_Notes/2.93/Grease_Pencil

https://developer.blender.org/rBa8a92cd15a52
2021-06-08 18:34:23 +02:00
Dmitry Kalinkin dca87350f4
blender: fix darwin build 2021-06-03 01:48:22 -04:00
Jonas Carpay ff60dfcc7f blender: 2.92.0 -> 2.93.0 2021-06-03 10:42:25 +09:00
Jonathan Ringer 9efeb1ee83 blender: fix llvm build 2021-05-08 18:13:45 -07:00
Julien Moutinho a1bc838a5e
blender: install with python3Packages.requests, fixes #97250 (#118987)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-12 04:12:40 +02:00
Gabriel Ebner 64678850c9 blender: make darwin patch apply again 2021-04-03 15:16:43 +02:00
Gabriel Ebner eae0b8fbfb blender: 2.91.0 -> 2.92.0 2021-04-03 11:57:13 +02:00
Gabriel Ebner ab336074fd blender: enable spacenav support 2021-04-02 23:05:50 +02:00
illustris 8fe3b43891 blender: fix build error 2021-03-22 22:56:17 -04:00
sohalt e7933ddd87 blender: support for libspnav 2021-02-18 15:08:20 +01:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
github-actions[bot] e251591528
Merge master into staging-next 2021-01-09 01:00:25 +00:00
Ben Siraphob 3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
NomisIV 952df7049b
Update pkgs/applications/misc/blender/default.nix
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2020-12-30 18:01:16 +01:00
NomisIV 7eff6be40c blender: updated license, because of OptiX 2020-12-15 19:25:32 +01:00
NomisIV 49ce410158 blender: merged option optixSupport with cudaSupport 2020-12-15 19:10:38 +01:00