nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 50 lines 962 B view raw
1{ 2 fetchFromCodeberg, 3 lib, 4 stdenv, 5 flex, 6 bison, 7 librecast, 8 libsodium, 9 lcrq, 10}: 11stdenv.mkDerivation (finalAttrs: { 12 pname = "lcagent"; 13 version = "0.1.0"; 14 15 src = fetchFromCodeberg { 16 owner = "librecast"; 17 repo = "lcagent"; 18 tag = finalAttrs.version; 19 hash = "sha256-Kr3VQ56V+Neo4CrKX5AasuftXNNJCx4NnsPz1UBBCog="; 20 }; 21 22 nativeBuildInputs = [ 23 bison 24 flex 25 ]; 26 27 buildInputs = [ 28 lcrq 29 librecast 30 libsodium 31 ]; 32 installFlags = [ "PREFIX=$(out)" ]; 33 doCheck = true; 34 35 meta = { 36 changelog = "https://codeberg.org/librecast/lcagent/src/tag/v${finalAttrs.version}/CHANGELOG.md"; 37 description = "Librecast multicast agent"; 38 homepage = "https://librecast.net/lcagent.html"; 39 license = [ 40 lib.licenses.gpl2Only 41 lib.licenses.gpl3Only 42 ]; 43 mainProgram = "lcagent"; 44 maintainers = with lib.maintainers; [ 45 jleightcap 46 jasonodoom 47 ]; 48 platforms = lib.platforms.gnu; 49 }; 50})