tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
openroad: init at 2.0
Tom Repetti
4 years ago
1387ce73
3861de42
+96
2 changed files
expand all
collapse all
unified
split
pkgs
applications
science
electronics
openroad
default.nix
top-level
all-packages.nix
+94
pkgs/applications/science/electronics/openroad/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ lib
2
+
, mkDerivation
3
+
, fetchFromGitHub
4
+
, bison
5
+
, cmake
6
+
, doxygen
7
+
, flex
8
+
, git
9
+
, python3
10
+
, swig4
11
+
, boost172
12
+
, cimg
13
+
, eigen
14
+
, lcov
15
+
, lemon-graph
16
+
, libjpeg
17
+
, pcre
18
+
, qtbase
19
+
, readline
20
+
, spdlog
21
+
, tcl
22
+
, tcllib
23
+
, xorg
24
+
, yosys
25
+
, zlib
26
+
}:
27
+
28
+
mkDerivation rec {
29
+
pname = "openroad";
30
+
version = "2.0";
31
+
32
+
src = fetchFromGitHub {
33
+
owner = "The-OpenROAD-Project";
34
+
repo = "OpenROAD";
35
+
rev = "v${version}";
36
+
fetchSubmodules = true;
37
+
sha256 = "1p677xh16wskfj06jnplhpc3glibhdaqxmk0j09832chqlryzwyx";
38
+
};
39
+
40
+
nativeBuildInputs = [
41
+
bison
42
+
cmake
43
+
doxygen
44
+
flex
45
+
git
46
+
swig4
47
+
];
48
+
49
+
buildInputs = [
50
+
boost172
51
+
cimg
52
+
eigen
53
+
lcov
54
+
lemon-graph
55
+
libjpeg
56
+
pcre
57
+
python3
58
+
qtbase
59
+
readline
60
+
spdlog
61
+
tcl
62
+
tcllib
63
+
yosys
64
+
xorg.libX11
65
+
zlib
66
+
];
67
+
68
+
postPatch = ''
69
+
patchShebangs --build etc/find_messages.py
70
+
'';
71
+
72
+
# Enable output images from the placer.
73
+
cmakeFlags = [ "-DUSE_CIMG_LIB=ON" ];
74
+
75
+
# Resynthesis needs access to the Yosys binaries.
76
+
qtWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ yosys ]}" ];
77
+
78
+
# Upstream uses vendored package versions for some dependencies, so regression testing is prudent
79
+
# to see if there are any breaking changes in unstable that should be vendored as well.
80
+
doCheck = false; # Disabled pending upstream release with fix for rcx log file creation.
81
+
checkPhase = ''
82
+
# Regression tests must be run from the project root not from within the CMake build directory.
83
+
cd ..
84
+
test/regression
85
+
'';
86
+
87
+
meta = with lib; {
88
+
description = "OpenROAD's unified application implementing an RTL-to-GDS flow";
89
+
homepage = "https://theopenroadproject.org";
90
+
license = licenses.bsd3;
91
+
maintainers = with maintainers; [ trepetti ];
92
+
platforms = platforms.linux;
93
+
};
94
+
}
+2
pkgs/top-level/all-packages.nix
···
30960
30961
openems = callPackage ../applications/science/electronics/openems { };
30962
0
0
30963
pcb = callPackage ../applications/science/electronics/pcb { };
30964
30965
qucs = callPackage ../applications/science/electronics/qucs { };
···
30960
30961
openems = callPackage ../applications/science/electronics/openems { };
30962
30963
+
openroad = libsForQt5.callPackage ../applications/science/electronics/openroad { };
30964
+
30965
pcb = callPackage ../applications/science/electronics/pcb { };
30966
30967
qucs = callPackage ../applications/science/electronics/qucs { };