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