diff options
author | Oliver Koss <oliver.koss06@gmail.com> | 2024-01-31 22:18:37 +0100 |
---|---|---|
committer | Oliver Koss <oliver.koss06@gmail.com> | 2024-02-12 17:44:49 +0100 |
commit | e656d2286aaccf5a3e58cd99f50e6ac768f32bb7 (patch) | |
tree | 0c7c6cf2d2c19f6d9756f2f23faaeac4ffdf028c /pkgs | |
parent | 1622d8059f2c7be831f96cb7c3ebe81769483107 (diff) |
ardopc: init at unstable-2021-08-28
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/by-name/ar/ardopc/package.nix | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/pkgs/by-name/ar/ardopc/package.nix b/pkgs/by-name/ar/ardopc/package.nix new file mode 100644 index 0000000000000..fe8491dbc4b3c --- /dev/null +++ b/pkgs/by-name/ar/ardopc/package.nix @@ -0,0 +1,51 @@ +{ fetchFromGitHub +, lib +, makeWrapper +, pkg-config +, stdenv +, alsa-lib +, flrig +, hamlib +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "ardopc"; + version = "unstable-2021-08-28"; + + src = fetchFromGitHub { + owner = "hamarituc"; + repo = "ardop"; + rev = "20210828"; + hash = "sha256-OUw9spFTsQLnsXksbfl3wD2NyY40JTyvlvONEIeZyWo="; + }; + + sourceRoot = "${finalAttrs.src.name}/ARDOPC"; + + nativeBuildInputs = [ + makeWrapper + pkg-config + ]; + + buildInputs = [ + alsa-lib + flrig + hamlib + ]; + + installPhase = '' + runHook preInstall + + install -D ardopc $out/bin/ardopc + + runHook postInstall + ''; + + meta = with lib; { + description = "ARDOP (Amateur Radio Digital Open Protocol) TNC implementation by John Wiseman (GM8BPQ)"; + homepage = "https://github.com/hamarituc/ardop/ARDOPC"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ oliver-koss ]; + mainProgram = "ardopc"; + platforms = platforms.all; + }; +}) |