mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
31 lines
657 B
Nix
31 lines
657 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "can-utils";
|
|
version = "2025.01";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linux-can";
|
|
repo = "can-utils";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-wum0hqPj3rCHHubNsOnj89tvrRQxoXrGQvZFcMKAGME=";
|
|
};
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = {
|
|
description = "CAN userspace utilities and tools (for use with Linux SocketCAN)";
|
|
homepage = "https://github.com/linux-can/can-utils";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [
|
|
bjornfor
|
|
Luflosi
|
|
];
|
|
};
|
|
})
|