File tree Expand file tree Collapse file tree
applications/science/electronics/csxcad Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ { stdenv
2+ , fetchFromGitHub
3+ , cmake
4+ , fparser
5+ , tinyxml
6+ , hdf5
7+ , cgal_5
8+ , vtk
9+ , boost
10+ , gmp
11+ , mpfr
12+ } :
13+
14+ stdenv . mkDerivation rec {
15+ pname = "csxcad" ;
16+ version = "unstable-2020-02-08" ;
17+
18+ src = fetchFromGitHub {
19+ owner = "thliebig" ;
20+ repo = "CSXCAD" ;
21+ rev = "ef6e40931dbd80e0959f37c8e9614c437bf7e518" ;
22+ sha256 = "072s765jyzpdq8qqysdy0dld17m6sr9zfcs0ip2zk8c4imxaysnb" ;
23+ } ;
24+
25+ patches = [ ./searchPath.patch ] ;
26+
27+ buildInputs = [
28+ cgal_5
29+ boost
30+ gmp
31+ mpfr
32+ vtk
33+ fparser
34+ tinyxml
35+ hdf5
36+ ] ;
37+
38+ nativeBuildInputs = [ cmake ] ;
39+
40+ enableParallelBuilding = true ;
41+
42+ meta = with stdenv . lib ; {
43+ description = "A C++ library to describe geometrical objects" ;
44+ homepage = "https://github.com/thliebig/CSXCAD" ;
45+ license = licenses . lgpl3 ;
46+ maintainers = with maintainers ; [ matthuszagh ] ;
47+ platforms = platforms . linux ;
48+ } ;
49+ }
Original file line number Diff line number Diff line change 1+ --- CSXCAD/matlab/searchBinary.m 2019-07-14 09:24:02.154291745 -0700
2+ +++ CSXCAD/matlab/searchBinary.m 2019-07-14 09:20:20.900248280 -0700
3+ @@ -33,7 +33,7 @@
4+
5+ % try all search paths
6+ for n=1:numel(searchpath)
7+ - binary_location = [searchpath{n} name];
8+ + binary_location = [searchpath{n} filesep name];
9+ if exist(binary_location, 'file')
10+ return
11+ end
Original file line number Diff line number Diff line change @@ -25677,6 +25677,8 @@ in
2567725677
2567825678 caneda = libsForQt5.callPackage ../applications/science/electronics/caneda { };
2567925679
25680+ csxcad = callPackage ../applications/science/electronics/csxcad { };
25681+
2568025682 fparser = callPackage ../applications/science/electronics/fparser { };
2568125683
2568225684 geda = callPackage ../applications/science/electronics/geda {
You can’t perform that action at this time.
0 commit comments