File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
pkgs/by-name/ca/cannelloni Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 55 cmake ,
66 lksctp-tools ,
77 sctpSupport ? true ,
8+ versionCheckHook ,
9+ nix-update-script ,
810} :
911
1012stdenv . mkDerivation ( finalAttrs : {
1113 pname = "cannelloni" ;
12- version = "1.1 .0" ;
14+ version = "1.2 .0" ;
1315 src = fetchFromGitHub {
1416 owner = "mguentner" ;
1517 repo = "cannelloni" ;
16- rev = "v${ finalAttrs . version } " ;
17- hash = "sha256-pAXHo9NCXMFKYcIJogytBiPkQE0nK6chU5TKiDNCKA8 =" ;
18+ tag = "v${ finalAttrs . version } " ;
19+ hash = "sha256-Qvmb3w0yv5BQqS/taV7BbZxjvcmWlHsdnzk00a6G1ZU =" ;
1820 } ;
1921
2022 nativeBuildInputs = [
@@ -27,6 +29,13 @@ stdenv.mkDerivation (finalAttrs: {
2729 "-DSCTP_SUPPORT=${ lib . boolToString sctpSupport } "
2830 ] ;
2931
32+ nativeInstallInputs = [
33+ versionCheckHook
34+ ] ;
35+ doInstallCheck = true ;
36+
37+ passthru . updateScript = nix-update-script { } ;
38+
3039 meta = with lib ; {
3140 description = "SocketCAN over Ethernet tunnel" ;
3241 mainProgram = "cannelloni" ;
You can’t perform that action at this time.
0 commit comments