Fernando Rodrigues 05580f4b44
treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00

52 lines
981 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
cmake,
protobuf,
icu,
csdr,
codecserver,
versionCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "digiham";
version = "0.6.2";
src = fetchFromGitHub {
owner = "jketterl";
repo = "digiham";
tag = finalAttrs.version;
hash = "sha256-v7qp6Lv94Ec0yzHsc08YDfE5OU54nglosRLWb98yDiQ=";
};
patches = [
# libicu headers require C++ 17, remove `set(CMAKE_CXX_STANDARD 11)`
./cpp-17.patch
];
nativeBuildInputs = [
cmake
];
buildInputs = [
codecserver
protobuf
csdr
icu
];
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgram = "${builtins.placeholder "out"}/bin/dmr_decoder";
doInstallCheck = true;
meta = {
homepage = "https://github.com/jketterl/digiham";
description = "Tools for decoding digital ham communication";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.unix;
teams = [ lib.teams.c3d2 ];
};
})