File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed
pkgs/by-name/ca/cannelloni Expand file tree Collapse file tree 1 file changed +16
-7
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.1 " ;
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-dhrB3qg/ljAP7nX+WpX+g7HaUEGj5pTPdDhY2Mi7pUo =" ;
1820 } ;
1921
2022 nativeBuildInputs = [
@@ -27,12 +29,19 @@ stdenv.mkDerivation (finalAttrs: {
2729 "-DSCTP_SUPPORT=${ lib . boolToString sctpSupport } "
2830 ] ;
2931
30- meta = with lib ; {
32+ nativeInstallInputs = [
33+ versionCheckHook
34+ ] ;
35+ doInstallCheck = true ;
36+
37+ passthru . updateScript = nix-update-script { } ;
38+
39+ meta = {
3140 description = "SocketCAN over Ethernet tunnel" ;
3241 mainProgram = "cannelloni" ;
3342 homepage = "https://github.com/mguentner/cannelloni" ;
34- platforms = platforms . linux ;
35- license = licenses . gpl2Only ;
36- maintainers = [ maintainers . samw ] ;
43+ platforms = lib . platforms . linux ;
44+ license = lib . licenses . gpl2Only ;
45+ maintainers = [ lib . maintainers . samw ] ;
3746 } ;
3847} )
You can’t perform that action at this time.
0 commit comments