hosts/packages/dune3d.nix

66 lines
1.1 KiB
Nix
Raw Normal View History

{
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";
src = fetchFromGitHub {
owner = "dune3d";
repo = "dune3d";
2024-05-04 10:32:45 +02:00
rev = "v${version}";
hash = "sha256-Z/kdOc/MbnnEyRsel3aZGndTAy1eCdAK0Wdta0HxaE4=";
};
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;
};
}