SCPM73SE5256HNN25VTZYEJHB42AZQVXLSXWAMC4QSY7PQTHUETQC
AFGBPBXIJET6S27JFQ7UQDKBAODRCVJBEWW5N4TZ2ZIDSVQBYPUAC
6XHFU57227LFUCZND5ECPHX2Y6KHKHIQWERBXPFYMO4PF2K7V2ZAC
DCWZGZGF4RV6H7Y23G5B2AILWPBKHRPYOAFB2DWU3UCGV7DQ6QCQC
42G2NQSSEKZREY7WY36V6WUVATOPTOWJ6F2UKT5ZRMIGDF5YVX2AC
N5MTDBGC3LLTCPBZYJHXOAJLKDEZ42CEILC47D44MNFQBVNFEWLQC
5I556HBJYJKJECF26RN5U7APFOEDJZYR35BO5HX6SI2BKIWJVDZAC
MZEQZDA4T5TSHLRMYJ65F2E7EVL5C4C7TKK5O4SGSPHQAW23HHBAC
(define-public jemalloc-5.3
(package
(inherit jemalloc-4.5.0)
(version "5.3.0")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/jemalloc/jemalloc/releases/download/"
version "/jemalloc-" version ".tar.bz2"))
(sha256
(base32
"1apyxjd1ixy4g8xkr61p0ny8jiz8vyv1j0k4nxqkxpqrf4g2vf1d"))))
(arguments
(substitute-keyword-arguments (package-arguments jemalloc-4.5.0)
;; Disable the thread local storage model in jemalloc 5 to prevent
;; shared libraries linked to libjemalloc from crashing on dlopen()
;; https://github.com/jemalloc/jemalloc/issues/937
((#:configure-flags base-configure-flags '())
`(cons "--disable-initial-exec-tls" ,base-configure-flags))))
(inputs (list perl))))
(description
"Blender is a 3D graphics creation suite. It supports the entirety of
the 3D pipeline—modeling, rigging, animation, simulation, rendering,
compositing and motion tracking, even video editing and game creation. The
application can be customized via its API for Python scripting.")
(license license:gpl2+)))
(define blender-addons-3.4
;; because addons are in a separate repo
;; (will disappear in 3.5: moved to Blender repo)
(package
(name "blender-addons")
(version "3.4.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://projects.blender.org/blender/blender-addons")
;; use the commit referenced by blender repo in v3.4.1
(commit "7408fc7283fd98a88db1383f45f5d15680472a7f")))
(file-name (git-file-name name version))
(sha256
(base32
"0ss0w2jah25zv1xwd59nz9id4ppjms4vaxiqr774jvjx0jfk5x5d"))))
(build-system copy-build-system)
(home-page "https://blender.org/")
(synopsis "All addon files for Blender")
(define blender-addons-contrib-3.4
;; because addons are in a separate repo
;; (will disappear in 3.5: moved to Blender repo)
(package
(name "blender-addons-contrib")
(version "3.4.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://projects.blender.org/blender/blender-addons-contrib")
;; use the commit referenced by blender repo in v3.4.1
(commit "886ea86bd9a0fd2761260a46356b728d51f2298a")))
(file-name (git-file-name name version))
(sha256
(base32
"17kwn8yczdzj5bxckar0qgpy66gv5my11zy00xnfkn67fsc8chan"))))
(build-system copy-build-system)
(home-page "https://blender.org/")
(synopsis "Additional addon files for Blender")
(description
"Blender is a 3D graphics creation suite. It supports the entirety of
the 3D pipeline—modeling, rigging, animation, simulation, rendering,
compositing and motion tracking, even video editing and game creation. The
application can be customized via its API for Python scripting.")
(license license:gpl2+)))
(let ((translations (assoc-ref inputs "blender-translations"))
(locale-folder "../blender/release/datafiles/locale"))
(rmdir locale-folder)
(symlink translations locale-folder)
(let ((translations (assoc-ref inputs "blender-translations"))
(addons (assoc-ref inputs "blender-addons"))
(addons-contrib (assoc-ref inputs "blender-addons-contrib"))
(translations-folder "../blender/release/datafiles/locale")
(addons-folder "../blender/release/scripts/addons")
(addons-contrib-folder "../blender/release/scripts/addons_contrib"))
(rmdir translations-folder)
(symlink translations translations-folder)
(copy-recursively addons addons-folder)
(copy-recursively addons-contrib addons-contrib-folder)