Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "p8-platform"; 10 version = "2.1.0.1"; 11 12 src = fetchFromGitHub { 13 owner = "Pulse-Eight"; 14 repo = "platform"; 15 rev = "p8-platform-${version}"; 16 sha256 = "sha256-zAI/AOLJAunv+cCQ6bOXrgkW+wl5frj3ktzx2cDeCCk="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = with lib; { 22 description = "Platform library for libcec and Kodi addons"; 23 homepage = "https://github.com/Pulse-Eight/platform"; 24 license = lib.licenses.gpl2Plus; 25 platforms = platforms.all; 26 teams = [ teams.kodi ]; 27 }; 28}