cannelloni: init at 1.1.0

This commit is contained in:
Sam Willcocks 2023-03-21 15:24:05 +00:00
parent 0b0cc27936
commit d9a45f2034
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, lib, fetchFromGitHub, cmake, lksctp-tools, sctpSupport ? true }:
stdenv.mkDerivation (finalAttrs: {
pname = "cannelloni";
version = "1.1.0";
src = fetchFromGitHub {
owner = "mguentner";
repo = "cannelloni";
rev = "v${finalAttrs.version}";
hash = "sha256-pAXHo9NCXMFKYcIJogytBiPkQE0nK6chU5TKiDNCKA8=";
};
buildInputs = [ cmake ] ++ lib.optionals sctpSupport [ lksctp-tools ];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DSCTP_SUPPORT=${lib.boolToString sctpSupport}"
];
meta = with lib; {
description = "A SocketCAN over Ethernet tunnel";
homepage = "https://github.com/mguentner/cannelloni";
platforms = platforms.linux;
license = licenses.gpl2Only;
maintainers = [ maintainers.samw ];
};
})

View file

@ -5986,6 +5986,8 @@ with pkgs;
can-utils = callPackage ../os-specific/linux/can-utils { };
cannelloni = callPackage ../os-specific/linux/cannelloni { };
caudec = callPackage ../applications/audio/caudec { };
ccd2iso = callPackage ../tools/cd-dvd/ccd2iso { };