2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2014-03-09 12:23:46 +00:00
|
|
|
|
2023-04-16 20:27:14 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "can-utils";
|
2023-04-16 20:27:14 +00:00
|
|
|
version = "2023.03";
|
2014-03-09 12:23:46 +00:00
|
|
|
|
2015-07-12 17:36:25 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linux-can";
|
|
|
|
repo = "can-utils";
|
2023-04-16 20:27:14 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-FaopviBJOmO0lXoJcdKNdtsoaJ8JrFEJGyO1aNBv+Pg=";
|
2014-03-09 12:23:46 +00:00
|
|
|
};
|
|
|
|
|
2023-04-16 20:27:14 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2014-03-09 12:23:46 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-03-09 12:23:46 +00:00
|
|
|
description = "CAN userspace utilities and tools (for use with Linux SocketCAN)";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/linux-can/can-utils";
|
2014-03-09 12:23:46 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2023-04-16 20:26:07 +00:00
|
|
|
maintainers = with maintainers; [ bjornfor Luflosi ];
|
2014-03-09 12:23:46 +00:00
|
|
|
};
|
|
|
|
}
|