31 lines
634 B
Nix
31 lines
634 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
stdenv,
|
||
|
|
fetchFromGitHub,
|
||
|
|
}:
|
||
|
|
|
||
|
|
stdenv.mkDerivation rec {
|
||
|
|
pname = "can-utils";
|
||
|
|
version = "2025.01";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "linux-can";
|
||
|
|
repo = "can-utils";
|
||
|
|
rev = "v${version}";
|
||
|
|
hash = "sha256-wum0hqPj3rCHHubNsOnj89tvrRQxoXrGQvZFcMKAGME=";
|
||
|
|
};
|
||
|
|
|
||
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
||
|
|
|
||
|
|
meta = with lib; {
|
||
|
|
description = "CAN userspace utilities and tools (for use with Linux SocketCAN)";
|
||
|
|
homepage = "https://github.com/linux-can/can-utils";
|
||
|
|
license = licenses.gpl2Plus;
|
||
|
|
platforms = platforms.linux;
|
||
|
|
maintainers = with maintainers; [
|
||
|
|
bjornfor
|
||
|
|
Luflosi
|
||
|
|
];
|
||
|
|
};
|
||
|
|
}
|