Merge pull request #222367 from wlcx/init-cannelloni

cannelloni: init at 1.1.0
This commit is contained in:
Pol Dellaiera 2023-06-10 16:30:02 +02:00 committed by GitHub
commit 3bfd1d9f53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -6241,6 +6241,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 { };