Merge pull request #222367 from wlcx/init-cannelloni
cannelloni: init at 1.1.0
This commit is contained in:
commit
3bfd1d9f53
2 changed files with 27 additions and 0 deletions
25
pkgs/os-specific/linux/cannelloni/default.nix
Normal file
25
pkgs/os-specific/linux/cannelloni/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue