intake/flake.nix

47 lines
991 B
Nix
Raw Normal View History

2025-01-15 15:08:42 +00:00
{
description = "Universal and extensible feed aggregator";
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"x86_64-linux"
"aarch64-linux"
"aarch64-darwin"
"x86_64-darwin"
];
perSystem =
{
pkgs,
2025-02-08 04:23:32 +00:00
self',
2025-01-15 15:08:42 +00:00
...
}:
{
formatter = pkgs.nixfmt-rfc-style;
2025-02-08 04:23:32 +00:00
packages = {
intake = pkgs.callPackage ./package.nix { };
default = self'.packages.intake;
};
2025-01-15 15:08:42 +00:00
devShells.default = pkgs.mkShell {
packages = [
pkgs.go
2025-01-16 14:37:47 +00:00
pkgs.gopls
pkgs.go-tools
2025-01-15 15:08:42 +00:00
pkgs.gotools
2025-01-16 15:55:38 +00:00
pkgs.cobra-cli
2025-01-24 00:58:55 +00:00
pkgs.air
2025-01-15 15:08:42 +00:00
];
};
};
flake = {
};
};
}