Add @11ty/eleventy package to dev shell
This commit is contained in:
parent
3ff6d210f0
commit
b0d1441acf
7 changed files with 60 additions and 1 deletions
15
pkgs/11ty-eleventy.nix
Normal file
15
pkgs/11ty-eleventy.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue