nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5 pkg-config,
6 pulseaudio,
7 nix-update-script,
8}:
9
10buildGoModule rec {
11 pname = "kappanhang";
12 version = "1.3";
13
14 src = fetchFromGitHub {
15 owner = "nonoo";
16 repo = "kappanhang";
17 rev = "v${version}";
18 hash = "sha256-l0V2NVzLsnpPe5EJcr5i9U7OGaYzNRDd1f/ogrdCnvk=";
19 };
20
21 vendorHash = "sha256-CnZTUP2JBbhG8VUHbVX+vicfQJC9Y8endlwQHdmzMus=";
22
23 nativeBuildInputs = [ pkg-config ];
24 buildInputs = [ pulseaudio ];
25
26 passthru.updateScript = nix-update-script { };
27
28 meta = {
29 homepage = "https://github.com/nonoo/kappanhang";
30 description = "Remote control for Icom radio transceivers";
31 license = lib.licenses.mit;
32 platforms = lib.platforms.linux;
33 maintainers = with lib.maintainers; [ mvs ];
34 mainProgram = "kappanhang";
35 };
36}