Skip to content

Commit a035b22

Browse files
committed
cannelloni: 1.1.0 -> 1.2.0
1 parent a33afb9 commit a035b22

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

pkgs/by-name/ca/cannelloni/package.nix

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,18 @@
55
cmake,
66
lksctp-tools,
77
sctpSupport ? true,
8+
versionCheckHook,
9+
nix-update-script,
810
}:
911

1012
stdenv.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";

0 commit comments

Comments
 (0)