1
0
Fork 0

Include static docs website

This commit is contained in:
Daniel Kempkens 2022-12-01 10:06:50 +01:00
parent 6aaf5f16c7
commit ad3a0360de
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
4 changed files with 28 additions and 0 deletions

View file

@ -22,6 +22,7 @@ jobs:
- run: nix build '.#fennel-ls' - run: nix build '.#fennel-ls'
- run: nix build '.#luarocks-jsregexp' - run: nix build '.#luarocks-jsregexp'
- run: nix build '.#q' - run: nix build '.#q'
- run: nix build '.#website-docs-nifoc-pw'
build-x86_64-darwin: build-x86_64-darwin:
runs-on: macos-latest runs-on: macos-latest

View file

@ -10,4 +10,5 @@ in
inherit (custom) luarocks-jsregexp; inherit (custom) luarocks-jsregexp;
inherit (custom) phantomjs; inherit (custom) phantomjs;
inherit (custom) q; inherit (custom) q;
inherit (custom) website-docs-nifoc-pw;
} }

View file

@ -7,4 +7,5 @@
luarocks-jsregexp = import ./packages/luarocks-jsregexp.nix { inherit system lib pkgs; }; luarocks-jsregexp = import ./packages/luarocks-jsregexp.nix { inherit system lib pkgs; };
phantomjs = import ./packages/phantomjs.nix { inherit system lib pkgs; }; phantomjs = import ./packages/phantomjs.nix { inherit system lib pkgs; };
q = import ./packages/q.nix { inherit system lib pkgs; }; q = import ./packages/q.nix { inherit system lib pkgs; };
website-docs-nifoc-pw = import ./packages/website-docs-nifoc-pw.nix { inherit system lib pkgs; };
} }

View file

@ -0,0 +1,25 @@
{ system, lib, pkgs }:
pkgs.stdenv.mkDerivation rec {
pname = "website-docs-nifoc-pw";
version = "2021-08-30";
src = pkgs.fetchFromGitHub {
owner = "nifoc";
repo = "nifoc.pw-docs";
rev = "24034da912e3d7fddc447734ca4c9a5951a0fa32";
sha256 = "sha256-GwVwbLUbxpFidOU1CTHFbYs/MscHpsqiYmnyvLtnYjM=";
fetchSubmodules = false;
};
installPhase = ''
mkdir $out
mv site $out/
'';
meta = {
description = "Static documentation files for some older projects";
homepage = "https://github.com/nifoc/nifoc.pw-docs";
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
};
}