summary refs log tree commit diff
path: root/pkgs/development/libraries/libcec/platform.nix
blob: 228dccea3e399698b2a2d85d583b8ce658cb5359 (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
{ stdenv, fetchurl, cmake }:

let version = "2.0.1"; in

stdenv.mkDerivation {
  name = "p8-platform-${version}";

  src = fetchurl {
    url = "https://github.com/Pulse-Eight/platform/archive/p8-platform-${version}.tar.gz";
    sha256 = "1kslq24p2zams92kc247qcczbxb2n89ykk9jfyiilmwh7qklazp9";
  };

  nativeBuildInputs = [ cmake ];

  meta = with stdenv.lib; {
    description = "Platform library for libcec and Kodi addons";
    homepage = https://github.com/Pulse-Eight/platform;
    repositories.git = "https://github.com/Pulse-Eight/platform.git";
    license = stdenv.lib.licenses.gpl2Plus;
    platforms = platforms.linux;
    maintainers = [ maintainers.titanous ];
  };
}