2021-01-17 02:09:27 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
|
2021-03-16 17:05:31 +00:00
|
|
|
, mpg123, SDL2, gtkmm3, faad2, pcre
|
2019-07-24 12:23:07 +00:00
|
|
|
} :
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dablin";
|
2024-04-13 13:00:31 +00:00
|
|
|
version = "1.16.0";
|
2019-07-24 12:23:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Opendigitalradio";
|
|
|
|
repo = "dablin";
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2024-04-13 13:00:31 +00:00
|
|
|
sha256 = "sha256-1rjL0dSEgF7FF72KiT6Tyj7/wbRc24LzyzmM1IGdglc=";
|
2019-07-24 12:23:07 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2019-07-24 12:23:07 +00:00
|
|
|
|
2021-03-16 17:05:31 +00:00
|
|
|
buildInputs = [ faad2 mpg123 SDL2 gtkmm3 pcre ];
|
2019-07-24 12:23:07 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-07-24 12:23:07 +00:00
|
|
|
description = "Play DAB/DAB+ from ETI-NI aligned stream";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/Opendigitalradio/dablin";
|
2019-07-24 12:23:07 +00:00
|
|
|
license = with licenses; [ gpl3 lgpl21 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.markuskowa ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|