summary refs log tree commit diff
path: root/pkgs/applications/video/xplayer/plparser.nix
blob: 67e394968da548b956ddb2f4a1b89d4628210b58 (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
{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, gobject-introspection
, gmime3
, libxml2
, libsoup
, pkg-config
}:

stdenv.mkDerivation rec {
  pname = "xplayer-plparser";
  version = "1.0.3";

  src = fetchFromGitHub {
    owner = "linuxmint";
    repo = pname;
    rev = version;
    sha256 = "6GMKsIpyQdiyHPxrjWHAHvuCouJxrAcYPIo9u6TLOA4=";
  };

  nativeBuildInputs = [
    meson
    ninja
    pkg-config
    gobject-introspection
  ];

  buildInputs = [
    gmime3
    libxml2
    libsoup
  ];

  meta = with lib; {
    description = "Playlist parsing library for xplayer";
    homepage = "https://github.com/linuxmint/xplayer-plparser";
    maintainers = with maintainers; [ tu-maurice bobby285271 ];
    license = licenses.lgpl2Plus;
    platforms = platforms.linux;
  };
}