# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final: # - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá # compiler/link/phases y adaptá hasta que compile. # - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren. name = "netop" version = "0.1.4" [source] repo = "https://github.com/ZingerLittleBee/netop" commit = "e9ea41968800613a477a9cbe343068449d4d6c74" [build] compiler = "zig-cc" target = "x86_64-linux-musl" link = "static" flags = ["--bin", "netop"] [build.phases] install = "mkdir -p /out/usr/bin && cp target/release/netop /out/usr/bin/netop"