nixpkgs/pkgs/by-name/da/dablin/package.nix
2024-09-26 23:35:04 +02:00

49 lines
782 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
mpg123,
SDL2,
gtkmm3,
faad2,
pcre,
}:
stdenv.mkDerivation rec {
pname = "dablin";
version = "1.16.0";
src = fetchFromGitHub {
owner = "Opendigitalradio";
repo = "dablin";
rev = version;
sha256 = "sha256-1rjL0dSEgF7FF72KiT6Tyj7/wbRc24LzyzmM1IGdglc=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
faad2
mpg123
SDL2
gtkmm3
pcre
];
meta = {
description = "Play DAB/DAB+ from ETI-NI aligned stream";
homepage = "https://github.com/Opendigitalradio/dablin";
license = with lib.licenses; [
gpl3Plus
lgpl21Only
];
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.markuskowa ];
};
}