diff options
-rw-r--r-- | pkgs/applications/radio/dablin/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/radio/dablin/default.nix b/pkgs/applications/radio/dablin/default.nix new file mode 100644 index 000000000000..9b475b04511d --- /dev/null +++ b/pkgs/applications/radio/dablin/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, cmake, pkgconfig +, mpg123, SDL2, gnome3, faad2, pcre +} : + +stdenv.mkDerivation rec { + pname = "dablin"; + version = "1.11.0"; + + src = fetchFromGitHub { + owner = "Opendigitalradio"; + repo = "dablin"; + rev = "${version}"; + sha256 = "04ir7yg7psnnb48s1qfppvvx6lak4s8f6fqdg721y2kd9129jm82"; + }; + + nativeBuildInputs = [ cmake pkgconfig ]; + + buildInputs = [ faad2 mpg123 SDL2 gnome3.gtkmm pcre ]; + + meta = with stdenv.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 ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bf9c11c56154..3aaf13a6531b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17418,6 +17418,8 @@ in cyclone = callPackage ../applications/audio/pd-plugins/cyclone { }; + dablin = callPackage ../applications/radio/dablin { }; + darcs = haskell.lib.overrideCabal (haskell.lib.justStaticExecutables haskellPackages.darcs) (drv: { configureFlags = (stdenv.lib.remove "-flibrary" drv.configureFlags or []) ++ ["-f-library"]; }); |