2024-04-27 14:42:07 +02:00
|
|
|
{
|
|
|
|
cmake,
|
|
|
|
eigen,
|
|
|
|
fetchFromGitHub,
|
|
|
|
glm,
|
|
|
|
gobject-introspection,
|
|
|
|
gtkmm4,
|
|
|
|
lib,
|
|
|
|
libepoxy,
|
|
|
|
librsvg,
|
|
|
|
libspnav,
|
|
|
|
libuuid,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
opencascade-occt,
|
|
|
|
pkg-config,
|
|
|
|
python3,
|
|
|
|
gcc13Stdenv,
|
|
|
|
wrapGAppsHook,
|
|
|
|
}:
|
|
|
|
|
|
|
|
gcc13Stdenv.mkDerivation rec {
|
|
|
|
pname = "dune3d";
|
2024-05-04 10:32:45 +02:00
|
|
|
version = "1.1.0";
|
2024-04-27 14:42:07 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dune3d";
|
|
|
|
repo = "dune3d";
|
2024-05-04 10:32:45 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-Z/kdOc/MbnnEyRsel3aZGndTAy1eCdAK0Wdta0HxaE4=";
|
2024-04-27 14:42:07 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
mainProgram = "dune3d";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|