about summary refs log tree commit diff
path: root/pkgs/by-name/da/dablin/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/da/dablin/package.nix')
-rw-r--r--pkgs/by-name/da/dablin/package.nix48
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/by-name/da/dablin/package.nix b/pkgs/by-name/da/dablin/package.nix
new file mode 100644
index 000000000000..a86a6d505721
--- /dev/null
+++ b/pkgs/by-name/da/dablin/package.nix
@@ -0,0 +1,48 @@
+{
+  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 ];
+  };
+}