diff options
author | Robert James Hernandez <rob@sarcasticadmin.com> | 2022-09-13 18:53:31 +0000 |
---|---|---|
committer | Robert James Hernandez <rob@sarcasticadmin.com> | 2022-09-16 08:14:39 +0000 |
commit | 7333590cb818c6265975285c3a17a925358c0e88 (patch) | |
tree | e0920d44fd4db3fd6ebcf362e13d6f325a00fa67 /pkgs/applications/radio | |
parent | 738fe494da28777ddeb2612c70a5dc909958df4b (diff) | |
download | nixlib-7333590cb818c6265975285c3a17a925358c0e88.tar nixlib-7333590cb818c6265975285c3a17a925358c0e88.tar.gz nixlib-7333590cb818c6265975285c3a17a925358c0e88.tar.bz2 nixlib-7333590cb818c6265975285c3a17a925358c0e88.tar.lz nixlib-7333590cb818c6265975285c3a17a925358c0e88.tar.xz nixlib-7333590cb818c6265975285c3a17a925358c0e88.tar.zst nixlib-7333590cb818c6265975285c3a17a925358c0e88.zip |
tncattach: init at 0.1.9
Diffstat (limited to 'pkgs/applications/radio')
-rw-r--r-- | pkgs/applications/radio/tncattach/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/radio/tncattach/default.nix b/pkgs/applications/radio/tncattach/default.nix new file mode 100644 index 000000000000..5d88c84f7174 --- /dev/null +++ b/pkgs/applications/radio/tncattach/default.nix @@ -0,0 +1,32 @@ +{ lib, stdenv, fetchFromGitHub, installShellFiles }: + +stdenv.mkDerivation rec { + pname = "tncattach"; + version = "0.1.9"; + + src = fetchFromGitHub { + owner = "markqvist"; + repo = "tncattach"; + rev = version; + sha256 = "0n7ad4gqvpgabw2i67s51lfz386wmv0cvnhxq9ygxpsqmx9aynxk"; + }; + + nativeBuildInputs = [ installShellFiles ]; + + makeFlags = [ "compiler=$(CC)" ]; + + installPhase = '' + runHook preInstall + install -Dm755 tncattach -t $out/bin + installManPage tncattach.8 + runHook postInstall + ''; + + meta = with lib; { + description = "Attach KISS TNC devices as network interfaces"; + homepage = "https://github.com/markqvist/tncattach"; + license = licenses.mit; + maintainers = with maintainers; [ sarcasticadmin ]; + platforms = platforms.linux; + }; +} |