File tree Expand file tree Collapse file tree 1 file changed +22
-25
lines changed Expand file tree Collapse file tree 1 file changed +22
-25
lines changed Original file line number Diff line number Diff line change 11{
2- clangStdenv ,
3- nodejs ,
4- fetchFromGitHub ,
5- pkgs ,
62 lib ,
3+ stdenv ,
4+ fetchFromGitHub ,
5+ cmake ,
6+ git ,
7+ python3 ,
78} :
8- clangStdenv . mkDerivation rec {
9- name = "cdt" ;
9+
10+ stdenv . mkDerivation rec {
11+ pname = "cdt" ;
1012 version = "4.1.0" ;
11- buildInputs = with pkgs ; [
12- llvm
13- curl . dev
14- gmp . dev
15- openssl . dev
16- libusb1 . dev
17- bzip2 . dev
18- ( boost . override {
19- enableShared = false ;
20- enabledStatic = true ;
21- } )
22- ] ;
23- nativeBuildInputs = with pkgs ; [
24- pkg-config
25- cmake
26- clang
27- git
28- python3
29- ] ;
3013
3114 src = fetchFromGitHub {
3215 owner = "AntelopeIO" ;
@@ -35,4 +18,18 @@ clangStdenv.mkDerivation rec {
3518 hash = "sha256-+s+W2MBc/G2SCuBOdxdq661h5Oz1IH3z3HosrOQAbYU=" ;
3619 fetchSubmodules = true ;
3720 } ;
21+
22+ nativeBuildInputs = [
23+ cmake
24+ git
25+ python3
26+ ] ;
27+
28+ meta = {
29+ description = "Contract Development Toolkit (CDT) is a suite of tools to facilitate C/C++ development of contracts for Antelope blockchains" ;
30+ homepage = "https://github.com/AntelopeIO/cdt" ;
31+ license = lib . licenses . mit ;
32+ mainProgram = "cdt" ;
33+ platforms = lib . platforms . all ;
34+ } ;
3835}
You can’t perform that action at this time.
0 commit comments