default.nix (608B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 }: 7 8 stdenv.mkDerivation (finalAttrs: { 9 pname = "radiolib"; 10 version = "7.0.2"; 11 12 src = fetchFromGitHub { 13 owner = "jgromes"; 14 repo = "RadioLib"; 15 rev = finalAttrs.version; 16 hash = "sha256-m+8Lf/V2ltBoLJX6QNHysFap/EuMlozD9Y0d1eMKH6Y="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = { 22 description = "Universal wireless communication library for embedded devices"; 23 homepage = "https://github.com/jgromes/RadioLib"; 24 license = lib.licenses.mit; 25 maintainers = [ lib.maintainers.sikmir ]; 26 platforms = lib.platforms.unix; 27 }; 28 })