15 lines
426 B
Nix
15 lines
426 B
Nix
# We'll pass in the pkgs and `src`
|
|
{ pkgs, src }:
|
|
pkgs.buildNpmPackage {
|
|
# Package name
|
|
pname = "eleventy";
|
|
version = (builtins.readFile ./11ty-eleventy.version) + "main";
|
|
src = src;
|
|
npmDepsHash = builtins.readFile ./11ty-eleventy.sha256;
|
|
dontNpmBuild = true;
|
|
meta = with pkgs.lib; {
|
|
description = "A simpler static site generator";
|
|
homepage = "https://www.11ty.dev/";
|
|
license = licenses.mit;
|
|
};
|
|
}
|