hosts/packages/dune3d.nix

66 lines
1.2 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";
version = "84c1129";
src = fetchFromGitHub {
owner = "dune3d";
repo = "dune3d";
rev = "84c11294c38b20503f480765f7226500a834ee3c";
hash = "sha256-77V02mowDbZR2a42WDqzcwz+J4aY64yueDqPeVTpUCI=";
};
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;
};
}