1{ lib, stdenv, fetchFromGitHub, cmake }:
2
3stdenv.mkDerivation rec {
4 pname = "p8-platform";
5 version = "2.1.0.1";
6
7 src = fetchFromGitHub {
8 owner = "Pulse-Eight";
9 repo = "platform";
10 rev = "p8-platform-${version}";
11 sha256 = "sha256-zAI/AOLJAunv+cCQ6bOXrgkW+wl5frj3ktzx2cDeCCk=";
12 };
13
14 nativeBuildInputs = [ cmake ];
15
16 meta = with lib; {
17 description = "Platform library for libcec and Kodi addons";
18 homepage = "https://github.com/Pulse-Eight/platform";
19 license = lib.licenses.gpl2Plus;
20 platforms = platforms.all;
21 maintainers = [ maintainers.titanous ];
22 };
23}