nixpkgs/pkgs/applications/radio/kappanhang/default.nix
Rick van Schijndel add94b83b1 kappanhang: restrict platforms to linux-only
According to the README:

kappanhang currently only supports Linux, but support for other platforms
can be easily added if anyone is interested and has the skills
(volunteers needed, as I'm only developing the Linux version).
2023-01-16 19:13:37 +01:00

26 lines
692 B
Nix

{ lib, buildGoModule, fetchFromGitHub, pkg-config, pulseaudio }:
buildGoModule rec {
pname = "kappanhang";
version = "1.3";
src = fetchFromGitHub {
owner = "nonoo";
repo = pname;
rev = "v${version}";
sha256 = "1ycy8avq5s7zspfi0d9klqcwwkpmcaz742cigd7pmcnbbhspcicp";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ pulseaudio ];
vendorSha256 = "1srjngcis42wfskwfqxxj101y9xyzrans1smy53bh1c9zm856xha";
meta = with lib; {
homepage = "https://github.com/nonoo/kappanhang";
description = "Remote control for Icom radio transceivers";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ mvs ];
};
}