mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
Merge pull request #66390 from KoviRobi/mandelbulber2-init-at-2.19
mandelbulber: init at 2.20
This commit is contained in:
commit
866dd4c0b4
64
pkgs/applications/graphics/mandelbulber/default.nix
Normal file
64
pkgs/applications/graphics/mandelbulber/default.nix
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
{ lib
|
||||||
|
, mkDerivation
|
||||||
|
, fetchFromGitHub
|
||||||
|
, libpng
|
||||||
|
, gsl
|
||||||
|
, libsndfile
|
||||||
|
, lzo
|
||||||
|
, qmake
|
||||||
|
, qttools
|
||||||
|
, qtbase
|
||||||
|
, qtmultimedia
|
||||||
|
, withOpenCL ? true
|
||||||
|
, opencl-clhpp ? null
|
||||||
|
, ocl-icd ? null
|
||||||
|
}:
|
||||||
|
|
||||||
|
assert withOpenCL -> opencl-clhpp != null;
|
||||||
|
assert withOpenCL -> ocl-icd != null;
|
||||||
|
|
||||||
|
mkDerivation rec {
|
||||||
|
pname = "mandelbulber";
|
||||||
|
version = "2.20";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "buddhi1980";
|
||||||
|
repo = "mandelbulber2";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "043dks9fimhradyhdzqdc6lb9z0x9lkj3szj10751g424lppp207";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
qmake
|
||||||
|
qttools
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
qtbase
|
||||||
|
qtmultimedia
|
||||||
|
libpng
|
||||||
|
gsl
|
||||||
|
libsndfile
|
||||||
|
lzo
|
||||||
|
] ++ lib.optionals withOpenCL [
|
||||||
|
opencl-clhpp
|
||||||
|
ocl-icd
|
||||||
|
];
|
||||||
|
|
||||||
|
sourceRoot = "${src.name}/mandelbulber2";
|
||||||
|
|
||||||
|
qmakeFlags = [
|
||||||
|
"SHARED_PATH=${placeholder ''out''}"
|
||||||
|
(if withOpenCL
|
||||||
|
then "qmake/mandelbulber-opencl.pro"
|
||||||
|
else "qmake/mandelbulber.pro")
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A 3D fractal rendering engine";
|
||||||
|
longDescription = "Mandelbulber creatively generates three-dimensional fractals. Explore trigonometric, hyper-complex, Mandelbox, IFS, and many other 3D fractals.";
|
||||||
|
homepage = "https://mandelbulber.com";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ kovirobi ];
|
||||||
|
};
|
||||||
|
}
|
@ -19908,6 +19908,8 @@ in
|
|||||||
|
|
||||||
mako = callPackage ../applications/misc/mako { };
|
mako = callPackage ../applications/misc/mako { };
|
||||||
|
|
||||||
|
mandelbulber = libsForQt5.callPackage ../applications/graphics/mandelbulber { };
|
||||||
|
|
||||||
mapmap = libsForQt5.callPackage ../applications/video/mapmap { };
|
mapmap = libsForQt5.callPackage ../applications/video/mapmap { };
|
||||||
|
|
||||||
marathon = callPackage ../applications/networking/cluster/marathon { };
|
marathon = callPackage ../applications/networking/cluster/marathon { };
|
||||||
|
Loading…
Reference in New Issue
Block a user