1 { lib, stdenv, fetchFromGitHub, installShellFiles }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "0n7ad4gqvpgabw2i67s51lfz386wmv0cvnhxq9ygxpsqmx9aynxk";
14 nativeBuildInputs = [ installShellFiles ];
16 makeFlags = [ "compiler=$(CC)" ];
20 install -Dm755 tncattach -t $out/bin
21 installManPage tncattach.8
26 description = "Attach KISS TNC devices as network interfaces";
27 homepage = "https://github.com/markqvist/tncattach";
28 license = licenses.mit;
29 maintainers = with maintainers; [ sarcasticadmin ];
30 platforms = platforms.linux;
31 mainProgram = "tncattach";