feat: ghost
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
source "$stdenv"/setup
|
||||
|
||||
export HOME=$(mktemp -d)
|
||||
npm install --loglevel=info --logs-max=0 "ghost-cli@$ghostCliVersion"
|
||||
|
||||
mkdir --parents "$out"/
|
||||
node_modules/ghost-cli/bin/ghost install "$version" --db=sqlite3 \
|
||||
--no-enable --no-prompt --no-stack --no-setup --no-start --dir "$out"
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{ pkgs }:
|
||||
|
||||
let
|
||||
pname = "ghost";
|
||||
version = "5.8.0";
|
||||
in pkgs.stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
buildInputs = with pkgs; [ nodejs yarn vips ];
|
||||
ghostCliVersion = "1.21.1";
|
||||
builder = ./builder.sh;
|
||||
}
|
||||
Reference in New Issue
Block a user