default.nix (615B)
1 { lib, stdenv, fetchFromGitHub, cmake }: 2 3 stdenv.mkDerivation (finalAttrs: { 4 pname = "radiolib"; 5 version = "6.4.2"; 6 7 src = fetchFromGitHub { 8 owner = "jgromes"; 9 repo = "RadioLib"; 10 rev = finalAttrs.version; 11 hash = "sha256-9cJZBybenJ160PeDCfWFmsLw4JVJSxNTTWA1Qosy2p0="; 12 fetchSubmodules = true; 13 }; 14 15 nativeBuildInputs = [ cmake ]; 16 17 meta = with lib; { 18 description = "Universal wireless communication library for embedded devices"; 19 inherit (finalAttrs.src.meta) homepage; 20 license = licenses.mit; 21 maintainers = [ maintainers.sikmir ]; 22 platforms = platforms.unix; 23 }; 24 })