From 09dc46b5bd9da174e4d9b16d907b3574708c7cd6 Mon Sep 17 00:00:00 2001 From: 0x4A6F <0x4A6F@users.noreply.github.com> Date: Tue, 26 Dec 2023 10:37:57 +0100 Subject: [PATCH 1/2] dune3d: init at 0.9.3 --- pkgs/by-name/du/dune3d/package.nix | 65 ++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 pkgs/by-name/du/dune3d/package.nix diff --git a/pkgs/by-name/du/dune3d/package.nix b/pkgs/by-name/du/dune3d/package.nix new file mode 100644 index 000000000000..315463627e52 --- /dev/null +++ b/pkgs/by-name/du/dune3d/package.nix @@ -0,0 +1,65 @@ +{ + cmake, + eigen, + fetchFromGitHub, + glm, + gobject-introspection, + gtkmm4, + lib, + libepoxy, + librsvg, + libspnav, + libuuid, + meson, + ninja, + opencascade-occt, + pkg-config, + python3, + stdenv, + wrapGAppsHook, +}: + +stdenv.mkDerivation rec { + pname = "dune3d"; + version = "0.9.3"; + + src = fetchFromGitHub { + owner = "dune3d"; + repo = "dune3d"; + rev = "v${version}"; + hash = "sha256-9eH5fM0zdI6BrWTujpqTuBE2pkgAEooKYiWl692HV48="; + }; + + nativeBuildInputs = [ + gobject-introspection + meson + ninja + pkg-config + wrapGAppsHook + ]; + buildInputs = [ + cmake + eigen + glm + gtkmm4 + libepoxy + librsvg + libspnav + libuuid + opencascade-occt + (python3.withPackages (pp: [ + pp.pygobject3 + ])) + ]; + + env.CASROOT = opencascade-occt; + + meta = with lib; { + description = "3D CAD application"; + homepage = "https://dune3d.org"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ _0x4A6F jue89 ]; + mainProgram = "dune3d"; + platforms = platforms.linux; + }; +} From 85fe7c5226ca94d635596bf62f3c8cda70bfb12f Mon Sep 17 00:00:00 2001 From: 0x4A6F <0x4A6F@users.noreply.github.com> Date: Thu, 1 Feb 2024 08:46:41 +0100 Subject: [PATCH 2/2] dune3d: 0.9.3 -> 1.0.0 --- pkgs/by-name/du/dune3d/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/du/dune3d/package.nix b/pkgs/by-name/du/dune3d/package.nix index 315463627e52..797819354a1b 100644 --- a/pkgs/by-name/du/dune3d/package.nix +++ b/pkgs/by-name/du/dune3d/package.nix @@ -21,13 +21,13 @@ stdenv.mkDerivation rec { pname = "dune3d"; - version = "0.9.3"; + version = "1.0.0"; src = fetchFromGitHub { owner = "dune3d"; repo = "dune3d"; rev = "v${version}"; - hash = "sha256-9eH5fM0zdI6BrWTujpqTuBE2pkgAEooKYiWl692HV48="; + hash = "sha256-y7jlqH1p2vCFTM14rFURxTkrWUT5hNkCseC3xB6bFFo="; }; nativeBuildInputs = [