2024-05-12 14:12:50 -04:00
|
|
|
{
|
2024-05-12 15:15:30 -04:00
|
|
|
description = "Tilde Friends is a platform for making, running, and sharing web applications.";
|
2024-05-12 14:12:50 -04:00
|
|
|
|
|
|
|
inputs = {
|
2024-06-04 09:22:18 -04:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
2024-05-12 14:12:50 -04:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
flake-utils,
|
|
|
|
}:
|
|
|
|
flake-utils.lib.eachDefaultSystem (system: let
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
};
|
|
|
|
in rec
|
|
|
|
{
|
|
|
|
# Nix formatter, run using `$ nix fmt`
|
|
|
|
formatter = pkgs.alejandra;
|
|
|
|
|
|
|
|
# Exports the tildefriends package
|
2024-05-12 15:17:38 -04:00
|
|
|
# Build with `$ nix build`
|
2024-05-12 14:12:50 -04:00
|
|
|
packages.default = pkgs.callPackage ./default.nix {};
|
|
|
|
|
|
|
|
# Creates a shell with the necessary dependencies
|
|
|
|
# Enter using `$ nix develop`
|
|
|
|
devShell = pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
openssl
|
|
|
|
llvmPackages_17.clang-unwrapped
|
|
|
|
unzip
|
2024-06-04 09:22:18 -04:00
|
|
|
doxygen
|
|
|
|
graphviz
|
2024-05-12 14:12:50 -04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|