diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-09-16 11:05:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-16 11:05:50 +0200 |
commit | 19e4837db215561a4645efb094109e4dd0719b74 (patch) | |
tree | ec5d70123eb000cc19865795687cba3fab60c087 /pkgs/applications/radio | |
parent | 0a633fd8089484db81767a67b07570d163b11ea3 (diff) | |
parent | 7333590cb818c6265975285c3a17a925358c0e88 (diff) | |
download | nixlib-19e4837db215561a4645efb094109e4dd0719b74.tar nixlib-19e4837db215561a4645efb094109e4dd0719b74.tar.gz nixlib-19e4837db215561a4645efb094109e4dd0719b74.tar.bz2 nixlib-19e4837db215561a4645efb094109e4dd0719b74.tar.lz nixlib-19e4837db215561a4645efb094109e4dd0719b74.tar.xz nixlib-19e4837db215561a4645efb094109e4dd0719b74.tar.zst nixlib-19e4837db215561a4645efb094109e4dd0719b74.zip |
Merge pull request #191103 from sarcasticadmin/rh/1663095153tncattach
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; + }; +} |