about summary refs log tree commit diff
path: root/pkgs/by-name/da/dablin/package.nix
blob: a86a6d505721eeb933f5fd18de4aeb15f63ced44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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 ];
  };
}