summaryrefslogtreecommitdiff
path: root/pkgs/by-name/dl/dleyna/package.nix
blob: d40c9b89bbcd0975a3ae01815f836b5040a077ac (about) (plain)
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
49
50
51
52
53
54
55
56
57
{
  stdenv,
  lib,
  docutils,
  fetchFromGitLab,
  meson,
  ninja,
  pkg-config,
  gupnp_1_6,
  gupnp-av,
  gupnp-dlna,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "dleyna";
  version = "0.8.3";

  outputs = [
    "out"
    "dev"
  ];

  src = fetchFromGitLab {
    domain = "gitlab.gnome.org";
    owner = "World";
    repo = "dLeyna";
    tag = "v${finalAttrs.version}";
    hash = "sha256-ti4yF8sALpWyrdQTt/jVrMKQ4PLhakEi620fJNMxT0c=";
  };

  nativeBuildInputs = [
    meson
    ninja
    docutils
    pkg-config
  ];

  buildInputs = [
    gupnp_1_6
    gupnp-dlna
    gupnp-av
    gupnp-dlna
  ];

  mesonFlags = [
    # Sphinx docs not installed, do not depend on sphinx
    "-Ddocs=false"
  ];

  meta = {
    description = "Library of utility functions that are used by the higher level dLeyna";
    homepage = "https://gitlab.gnome.org/World/dLeyna";
    maintainers = with lib.maintainers; [ jtojnar ];
    platforms = lib.platforms.unix;
    license = lib.licenses.lgpl21Only;
  };
})