File tree Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ lib ,
3
+ stdenv ,
4
+ fetchFromGitHub ,
5
+ cmake ,
6
+ bison ,
7
+ boost ,
8
+ capnproto ,
9
+ doxygen ,
10
+ flex ,
11
+ libdwarf-lite ,
12
+ pkg-config ,
13
+ python3 ,
14
+ tbb_2021_11 ,
15
+ } :
16
+ stdenv . mkDerivation {
17
+ pname = "naja" ;
18
+ version = "0-unstable-2024-07-21" ;
19
+
20
+ src = fetchFromGitHub {
21
+ owner = "najaeda" ;
22
+ repo = "naja" ;
23
+ rev = "8c068f3bd1bbd57b851547f191a58a375fd35cda" ;
24
+ hash = "sha256-aUYPJGr4D5n92fp0namPT6I/gMRZoF7YHnB7GoRzwYI=" ;
25
+ fetchSubmodules = true ;
26
+ } ;
27
+
28
+ outputs = [
29
+ "dev"
30
+ "lib"
31
+ "out"
32
+ ] ;
33
+
34
+ strictDeps = true ;
35
+
36
+ nativeBuildInputs = [
37
+ bison
38
+ capnproto
39
+ cmake
40
+ doxygen
41
+ flex
42
+ pkg-config
43
+ python3
44
+ ] ;
45
+
46
+ buildInputs = [
47
+ boost
48
+ capnproto # cmake modules
49
+ flex # include dir
50
+ libdwarf-lite
51
+ tbb_2021_11
52
+ ] ;
53
+
54
+ cmakeFlags = [
55
+ ( lib . cmakeBool "CPPTRACE_USE_EXTERNAL_LIBDWARF" true )
56
+ ( lib . cmakeBool "CPPTRACE_USE_EXTERNAL_ZSTD" true )
57
+ ] ;
58
+
59
+ doCheck = true ;
60
+
61
+ meta = {
62
+ description = "Structural Netlist API (and more) for EDA post synthesis flow development" ;
63
+ homepage = "https://github.com/najaeda/naja" ;
64
+ license = lib . licenses . asl20 ;
65
+ maintainers = with lib . maintainers ; [ ] ;
66
+ mainProgram = "naja_edit" ;
67
+ platforms = lib . platforms . all ;
68
+ } ;
69
+ }
You can’t perform that action at this time.
0 commit comments