csxcad: init at unstable-2020-02-08
This commit is contained in:
parent
7503f280c8
commit
e74a6bcc20
|
@ -0,0 +1,49 @@
|
|||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, fparser
|
||||
, tinyxml
|
||||
, hdf5
|
||||
, cgal_5
|
||||
, vtk
|
||||
, boost
|
||||
, gmp
|
||||
, mpfr
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "csxcad";
|
||||
version = "unstable-2020-02-08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thliebig";
|
||||
repo = "CSXCAD";
|
||||
rev = "ef6e40931dbd80e0959f37c8e9614c437bf7e518";
|
||||
sha256 = "072s765jyzpdq8qqysdy0dld17m6sr9zfcs0ip2zk8c4imxaysnb";
|
||||
};
|
||||
|
||||
patches = [./searchPath.patch ];
|
||||
|
||||
buildInputs = [
|
||||
cgal_5
|
||||
boost
|
||||
gmp
|
||||
mpfr
|
||||
vtk
|
||||
fparser
|
||||
tinyxml
|
||||
hdf5
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.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;
|
||||
};
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
--- CSXCAD/matlab/searchBinary.m 2019-07-14 09:24:02.154291745 -0700
|
||||
+++ CSXCAD/matlab/searchBinary.m 2019-07-14 09:20:20.900248280 -0700
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
% try all search paths
|
||||
for n=1:numel(searchpath)
|
||||
- binary_location = [searchpath{n} name];
|
||||
+ binary_location = [searchpath{n} filesep name];
|
||||
if exist(binary_location, 'file')
|
||||
return
|
||||
end
|
|
@ -25677,6 +25677,8 @@ in
|
|||
|
||||
caneda = libsForQt5.callPackage ../applications/science/electronics/caneda { };
|
||||
|
||||
csxcad = callPackage ../applications/science/electronics/csxcad { };
|
||||
|
||||
fparser = callPackage ../applications/science/electronics/fparser { };
|
||||
|
||||
geda = callPackage ../applications/science/electronics/geda {
|
||||
|
|
Loading…
Reference in New Issue