33 lines
859 B
Nix
33 lines
859 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
utils.url = "github:numtide/flake-utils";
|
|
};
|
|
outputs = inputs: inputs.utils.lib.eachDefaultSystem (system:
|
|
with inputs.nixpkgs.legacyPackages.${system}; {
|
|
devShells.default = pkgs.mkShell {
|
|
buildInputs = [
|
|
# clover sitegen v3
|
|
pkgs.nodejs_24 # runtime
|
|
pkgs.deno # formatter
|
|
pkgs.python3 # for font subsetting
|
|
|
|
# paperclover.net
|
|
(pkgs.ffmpeg.override {
|
|
withOpus = true;
|
|
withSvtav1 = true;
|
|
withJxl = true;
|
|
withWebp = true;
|
|
})
|
|
pkgs.rsync
|
|
];
|
|
};
|
|
devShells.min = pkgs.mkShell {
|
|
buildInputs = [
|
|
pkgs.nodejs_24 # runtime
|
|
pkgs.deno # formatter
|
|
pkgs.rsync
|
|
];
|
|
};
|
|
});
|
|
}
|