Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 26 lines 800 B view raw
1{ lib, buildGraalvmNativeImage, fetchurl }: 2 3buildGraalvmNativeImage rec { 4 pname = "jet"; 5 version = "0.5.25"; 6 7 src = fetchurl { 8 url = "https://github.com/borkdude/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar"; 9 sha256 = "sha256-4uXK9MRBXLjfHDNl6KJY1n9b02uXg+BlIr/q1DGeRKU="; 10 }; 11 12 extraNativeImageBuildArgs = [ 13 "-H:+ReportExceptionStackTraces" 14 "-H:Log=registerResource:" 15 "--no-fallback" 16 "--no-server" 17 ]; 18 19 meta = with lib; { 20 description = "CLI to transform between JSON, EDN, YAML and Transit, powered with a minimal query language"; 21 homepage = "https://github.com/borkdude/jet"; 22 sourceProvenance = with sourceTypes; [ binaryBytecode ]; 23 license = licenses.epl10; 24 maintainers = with maintainers; [ ericdallo ]; 25 }; 26}