atproto-firehose/flake.nix
2025-10-15 11:56:08 +00:00

36 lines
745 B
Nix

{
description = "AtProto Firehose";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = nixpkgs.legacyPackages.${system};
nativeBuildInputs = with pkgs; [
go
gopls
];
buildInputs = with pkgs; [];
in {
devShells.default = pkgs.mkShell {inherit nativeBuildInputs buildInputs;};
packages.default = pkgs.buildGoModule rec {
name = "atproto-firehose";
src = ./.;
inherit buildInputs;
vendorHash = null;
};
}
);
}