Merge pull request #45767 from ericevenchick/add-can-isotp

can-isotp: init at 20180629
This commit is contained in:
Ryan Mulligan 2018-09-29 11:24:31 -07:00 committed by GitHub
commit 30f58023dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 0 deletions

View file

@ -1332,6 +1332,11 @@
github = "etu"; github = "etu";
name = "Elis Hirwing"; name = "Elis Hirwing";
}; };
evck = {
email = "eric@evenchick.com";
github = "ericevenchick";
name = "Eric Evenchick";
};
exfalso = { exfalso = {
email = "0slemi0@gmail.com"; email = "0slemi0@gmail.com";
github = "exfalso"; github = "exfalso";

View file

@ -0,0 +1,36 @@
{ stdenv, kernel, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "can-isotp-${version}";
version = "20180629";
hardeningDisable = [ "pic" ];
src = fetchFromGitHub {
owner = "hartkopp";
repo = "can-isotp";
rev = "6003f9997587e6a563cebf1f246bcd0eb6deff3d";
sha256 = "0b2pqb0vd1wgv2zpl7lvfavqkzr8mrwhrv7zdqkq3rz9givcv8w7";
};
KERNELDIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
INSTALL_MOD_PATH = "\${out}";
buildPhase = ''
make modules
'';
installPhase = ''
make modules_install
'';
nativeBuildInputs = kernel.moduleBuildDependencies;
meta = with stdenv.lib; {
description = "Kernel module for ISO-TP (ISO 15765-2)";
homepage = "https://github.com/hartkopp/can-isotp";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.evck ];
};
}

View file

@ -14298,6 +14298,8 @@ with pkgs;
}) zfsStable zfsUnstable; }) zfsStable zfsUnstable;
zfs = zfsStable; zfs = zfsStable;
can-isotp = callPackage ../os-specific/linux/can-isotp { };
}); });
# The current default kernel / kernel modules. # The current default kernel / kernel modules.