Merge pull request #301672 from viraptor/tangerine

tangerine: init at 2024-04-05

authored by Stanisław Pitucha and committed by GitHub 55817531 b0dab7cc

+40
+40
pkgs/by-name/ta/tangerine/package.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , cmake 6 + , ncurses 7 + , SDL2 8 + }: 9 + 10 + stdenv.mkDerivation { 11 + pname = "tangerine"; 12 + version = "unstable-2024-04-05"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "Aeva"; 16 + repo = "tangerine"; 17 + rev = "a628e95d181d396246214df5194ac6b18698d811"; 18 + hash = "sha256-vn4/eH5o0UhTNfN2UB4r0eKNn90PbH3UPfarHsnQPIk="; 19 + }; 20 + 21 + patches = [ 22 + (fetchpatch { 23 + name = "no-install-during-build.patch"; 24 + url = "https://github.com/Aeva/tangerine/pull/12/commits/2d7d1ae1e21e8fe52df2c4a33e947b2ff6b07812.patch"; 25 + hash = "sha256-zLAx5FOvtUsUZM/nUCFW8Z1Xe3+oV95Nv1s3GaNcV/c="; 26 + }) 27 + ]; 28 + 29 + nativeBuildInputs = [ cmake ]; 30 + buildInputs = [ ncurses SDL2 ]; 31 + 32 + meta = with lib; { 33 + description = "A system for creating 3D models procedurally from a set of Signed Distance Function (SDF) primitive shapes and combining operators"; 34 + homepage = "https://github.com/Aeva/tangerine"; 35 + license = licenses.asl20; 36 + maintainers = [ maintainers.viraptor ]; 37 + broken = stdenv.isDarwin; # third_party/naive-surface-nets doesn't find std::execution 38 + }; 39 + } 40 +