Include static docs website
This commit is contained in:
parent
6aaf5f16c7
commit
ad3a0360de
4 changed files with 28 additions and 0 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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; };
|
||||||
}
|
}
|
||||||
|
|
25
packages/website-docs-nifoc-pw.nix
Normal file
25
packages/website-docs-nifoc-pw.nix
Normal 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" ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue