blob: 83ee992f4b28a25b44545fdf05735bcd12a1db4d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{ lib, stdenv
, fetchFromGitHub
, cmake
, fparser
, tinyxml
, hdf5
, cgal
, vtk
, boost
, gmp
, mpfr
}:
stdenv.mkDerivation rec {
pname = "csxcad";
version = "0.6.3";
src = fetchFromGitHub {
owner = "thliebig";
repo = "CSXCAD";
rev = "v${version}";
sha256 = "sha256-SSV5ulx3rCJg99I/oOQbqe+gOSs+BfcCo6UkWHVhnSs=";
};
patches = [./searchPath.patch ];
buildInputs = [
cgal
boost
gmp
mpfr
vtk
fparser
tinyxml
hdf5
];
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "A C++ library to describe geometrical objects";
homepage = "https://github.com/thliebig/CSXCAD";
license = licenses.lgpl3;
maintainers = with maintainers; [ matthuszagh ];
platforms = platforms.linux;
};
}
|