Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 23 lines 611 B view raw
1{ lib, stdenv, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 pname = "can-utils"; 5 version = "2023.03"; 6 7 src = fetchFromGitHub { 8 owner = "linux-can"; 9 repo = "can-utils"; 10 rev = "v${version}"; 11 hash = "sha256-FaopviBJOmO0lXoJcdKNdtsoaJ8JrFEJGyO1aNBv+Pg="; 12 }; 13 14 makeFlags = [ "PREFIX=$(out)" ]; 15 16 meta = with lib; { 17 description = "CAN userspace utilities and tools (for use with Linux SocketCAN)"; 18 homepage = "https://github.com/linux-can/can-utils"; 19 license = licenses.gpl2Plus; 20 platforms = platforms.linux; 21 maintainers = with maintainers; [ bjornfor Luflosi ]; 22 }; 23}