File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 37
37
38
38
cargoHash = "sha256-UHAwk1fBcabRqy7VMhz4aoQuIur+MQshDOhC7KFyGm4=" ;
39
39
} ;
40
+
41
+ # The formatting scripts require a specific version of uncrustify:
42
+ uncrustify-0_75_1 = stdenv . mkDerivation rec {
43
+ pname = "uncrustify" ;
44
+ version = "0.75.1" ;
45
+
46
+ src = pkgs . fetchFromGitHub {
47
+ owner = "uncrustify" ;
48
+ repo = "uncrustify" ;
49
+ rev = "uncrustify-${ version } " ;
50
+ sha256 = "sha256-wLzj/KcqXlcTsOJo7T166jLcWi1KNLmgblIqqkj7/9c=" ;
51
+ } ;
52
+
53
+ nativeBuildInputs = with pkgs ; [
54
+ cmake
55
+ python3
56
+ ] ;
57
+ } ;
58
+
40
59
in
41
60
pkgs . mkShell {
42
61
name = "tock-dev" ;
47
66
python3Full
48
67
tockloader
49
68
pkgsCross . riscv32-embedded . buildPackages . gcc
50
- uncrustify
51
69
unzip
52
70
openocd
71
+ uncrustify-0_75_1
53
72
] ++ ( lib . optionals withUnfreePkgs [
54
73
segger-jlink
55
74
tockloader . nrf-command-line-tools
You can’t perform that action at this time.
0 commit comments