2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-08-20 17:08:02 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, fparser
|
|
|
|
, tinyxml
|
|
|
|
, hdf5
|
|
|
|
, cgal_5
|
2023-02-09 11:40:11 +00:00
|
|
|
, vtk
|
2020-08-20 17:08:02 +00:00
|
|
|
, boost
|
|
|
|
, gmp
|
|
|
|
, mpfr
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "csxcad";
|
2023-02-09 11:40:11 +00:00
|
|
|
version = "unstable-2022-05-18";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thliebig";
|
|
|
|
repo = "CSXCAD";
|
2023-02-09 11:40:11 +00:00
|
|
|
rev = "cd9decb4d9cebe3c8bf115e2c0ee73f730f22da1";
|
|
|
|
sha256 = "1604amhvp7dm8ych7gwzxwawqvb9hpjglk5ffd4qm0y3k6r89arn";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [./searchPath.patch ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cgal_5
|
|
|
|
boost
|
|
|
|
gmp
|
|
|
|
mpfr
|
2023-02-09 11:40:11 +00:00
|
|
|
vtk
|
2020-08-20 17:08:02 +00:00
|
|
|
fparser
|
|
|
|
tinyxml
|
|
|
|
hdf5
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-08-20 17:08:02 +00: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;
|
|
|
|
};
|
|
|
|
}
|