depot/third_party/nixpkgs/pkgs/os-specific/linux/can-utils/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

23 lines
611 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "can-utils";
version = "2023.03";
src = fetchFromGitHub {
owner = "linux-can";
repo = "can-utils";
rev = "v${version}";
hash = "sha256-FaopviBJOmO0lXoJcdKNdtsoaJ8JrFEJGyO1aNBv+Pg=";
};
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 ];
};
}