mirror of
https://github.com/anotherhadi/ilovetui.git
synced 2026-06-26 00:42:33 +02:00
f3a1877832
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
31 lines
757 B
Nix
31 lines
757 B
Nix
{
|
|
description = "A minimal Go library that provides a shared Base16color theme for terminal UIs built with bubbletea and lipgloss.";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
git-hooks = {
|
|
url = "github:cachix/git-hooks.nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
git-hooks,
|
|
}: let
|
|
supportedSystems = ["x86_64-linux" "aarch64-linux"];
|
|
|
|
forAllSystems = f:
|
|
nixpkgs.lib.genAttrs supportedSystems
|
|
(system: f system (import nixpkgs {inherit system;}));
|
|
in {
|
|
devShells = forAllSystems (system: pkgs: {
|
|
default = import ./nix/shell.nix {
|
|
inherit pkgs;
|
|
gitHooksLib = git-hooks.lib.${system};
|
|
};
|
|
});
|
|
};
|
|
}
|