initial project setup

This commit is contained in:
Polen 2026-04-02 09:50:45 -04:00
commit 46c024e8bd
8 changed files with 574 additions and 0 deletions

31
flake.nix Normal file
View file

@ -0,0 +1,31 @@
{
description = "Essence Quebec - Gas price heatmap";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
go
gopls
gotools
];
};
packages.default = pkgs.buildGoModule {
pname = "essence";
version = "0.1.0";
src = ./.;
vendorHash = null; # Will need updating after go mod tidy
};
}
);
}