2020-08-20 17:08:02 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, csxcad
|
|
|
|
, qcsxcad
|
|
|
|
, hdf5
|
2023-02-09 11:40:11 +00:00
|
|
|
, vtkWithQt5
|
2020-08-20 17:08:02 +00:00
|
|
|
, qtbase
|
|
|
|
, fparser
|
|
|
|
, tinyxml
|
|
|
|
, cgal
|
|
|
|
, boost
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation {
|
|
|
|
pname = "appcsxcad";
|
2023-02-09 11:40:11 +00:00
|
|
|
version = "unstable-2023-01-06";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thliebig";
|
|
|
|
repo = "AppCSXCAD";
|
2023-02-09 11:40:11 +00:00
|
|
|
rev = "379ede4b8e00c11e8d0fb724c35547991b30c423";
|
|
|
|
hash = "sha256-L0ZEyovnfMzM7JuITBuhb4tJ2Aqgw52IiKEfEGq7Yo0=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
csxcad
|
|
|
|
qcsxcad
|
|
|
|
hdf5
|
2023-02-09 11:40:11 +00:00
|
|
|
vtkWithQt5
|
2020-08-20 17:08:02 +00:00
|
|
|
qtbase
|
|
|
|
fparser
|
|
|
|
tinyxml
|
|
|
|
cgal
|
|
|
|
boost
|
|
|
|
];
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
rm $out/bin/AppCSXCAD.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Minimal Application using the QCSXCAD library";
|
|
|
|
homepage = "https://github.com/thliebig/AppCSXCAD";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ matthuszagh ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|