Add @11ty/eleventy package to dev shell

This commit is contained in:
Luka Korošec 2025-06-20 21:24:23 +02:00
parent 3ff6d210f0
commit b0d1441acf
Signed by: Pizmovc
GPG key ID: 4E1338930C2F3572
7 changed files with 60 additions and 1 deletions

15
pkgs/11ty-eleventy.nix Normal file
View 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;
};
}

View file

@ -0,0 +1 @@
sha256-LGdCM1gjt3hRn7BiIlbA4e2HOiQ6e/qkAtWp0Qwn+PE=

View file

@ -0,0 +1 @@
3.1.2-beta.2