nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation (finalAttrs: {
8 pname = "can-utils";
9 version = "2025.01";
10
11 src = fetchFromGitHub {
12 owner = "linux-can";
13 repo = "can-utils";
14 rev = "v${finalAttrs.version}";
15 hash = "sha256-wum0hqPj3rCHHubNsOnj89tvrRQxoXrGQvZFcMKAGME=";
16 };
17
18 makeFlags = [ "PREFIX=$(out)" ];
19
20 meta = {
21 description = "CAN userspace utilities and tools (for use with Linux SocketCAN)";
22 homepage = "https://github.com/linux-can/can-utils";
23 license = lib.licenses.gpl2Plus;
24 platforms = lib.platforms.linux;
25 maintainers = with lib.maintainers; [
26 bjornfor
27 Luflosi
28 ];
29 };
30})