672cd0c8e7
Fix building with `config.allowAliases = false;`.
29 lines
707 B
Nix
29 lines
707 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
|
|
, mpg123, SDL2, gtkmm3, faad2, pcre
|
|
} :
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dablin";
|
|
version = "1.13.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Opendigitalradio";
|
|
repo = "dablin";
|
|
rev = version;
|
|
sha256 = "0143jnhwwh4din6mlrkbm8m2wm8vnrlk0yk9r5qcvj70r2314bgq";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ faad2 mpg123 SDL2 gtkmm3 pcre ];
|
|
|
|
meta = with lib; {
|
|
description = "Play DAB/DAB+ from ETI-NI aligned stream";
|
|
homepage = "https://github.com/Opendigitalradio/dablin";
|
|
license = with licenses; [ gpl3 lgpl21 ];
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.markuskowa ];
|
|
};
|
|
}
|
|
|