nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 17.09 23 lines 681 B view raw
1{ stdenv, fetchurl, cmake }: 2 3let version = "2.0.1"; in 4 5stdenv.mkDerivation { 6 name = "p8-platform-${version}"; 7 8 src = fetchurl { 9 url = "https://github.com/Pulse-Eight/platform/archive/p8-platform-${version}.tar.gz"; 10 sha256 = "1kslq24p2zams92kc247qcczbxb2n89ykk9jfyiilmwh7qklazp9"; 11 }; 12 13 nativeBuildInputs = [ cmake ]; 14 15 meta = with stdenv.lib; { 16 description = "Platform library for libcec and Kodi addons"; 17 homepage = https://github.com/Pulse-Eight/platform; 18 repositories.git = "https://github.com/Pulse-Eight/platform.git"; 19 license = stdenv.lib.licenses.gpl2Plus; 20 platforms = platforms.linux; 21 maintainers = [ maintainers.titanous ]; 22 }; 23}