2024-03-07 19:48:00 +01:00
|
|
|
{
|
2024-03-19 13:55:19 +01:00
|
|
|
description = "hb-downloader";
|
2024-03-19 14:07:26 +01:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
|
|
|
|
};
|
2024-03-07 19:48:00 +01:00
|
|
|
|
2024-03-19 14:07:26 +01:00
|
|
|
outputs = { self, nixpkgs,flake-utils, pre-commit-hooks, ... }:
|
2024-03-19 13:55:19 +01:00
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
in {
|
2024-03-19 14:07:26 +01:00
|
|
|
devShells.x86_64-linux.default = (import ./shell.nix { inherit pkgs pre-commit-hooks; });
|
2024-03-19 13:55:19 +01:00
|
|
|
packages.x86_64-linux.default = (import ./default.nix { inherit pkgs; });
|
|
|
|
};
|
2024-03-07 19:48:00 +01:00
|
|
|
}
|