2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2019-10-21 02:51:51 +02:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, fparser
|
|
|
|
, tinyxml
|
|
|
|
, hdf5
|
2023-12-18 07:15:50 +01:00
|
|
|
, cgal
|
2023-02-04 19:49:28 +01:00
|
|
|
, vtk
|
2019-10-21 02:51:51 +02:00
|
|
|
, boost
|
|
|
|
, gmp
|
|
|
|
, mpfr
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "csxcad";
|
2023-12-04 02:56:35 +01:00
|
|
|
version = "0.6.3";
|
2019-10-21 02:51:51 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thliebig";
|
|
|
|
repo = "CSXCAD";
|
2023-12-04 02:56:35 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-SSV5ulx3rCJg99I/oOQbqe+gOSs+BfcCo6UkWHVhnSs=";
|
2019-10-21 02:51:51 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [./searchPath.patch ];
|
|
|
|
|
|
|
|
buildInputs = [
|
2023-12-18 07:15:50 +01:00
|
|
|
cgal
|
2019-10-21 02:51:51 +02:00
|
|
|
boost
|
|
|
|
gmp
|
|
|
|
mpfr
|
2023-02-04 19:49:28 +01:00
|
|
|
vtk
|
2019-10-21 02:51:51 +02:00
|
|
|
fparser
|
|
|
|
tinyxml
|
|
|
|
hdf5
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-10-21 02:51:51 +02:00
|
|
|
description = "A C++ library to describe geometrical objects";
|
|
|
|
homepage = "https://github.com/thliebig/CSXCAD";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ matthuszagh ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|