summary refs log blame commit diff
path: root/default.nix
blob: 3f3b4aab8d0774637c42413b2501df9cb15c270d (plain) (tree)
1
2

                              



















                                                                 
# SPDX-License-Identifier: MIT

with import <nixpkgs> {};

stdenv.mkDerivation {
  name = "spectrum-doc";

  src = builtins.fetchGit ./.;

  nativeBuildInputs = [ asciidoctor ];

  installPhase = ''
    mkdir -p $out/share/doc/spectrum
    mv developer-manual.html $out/share/doc/spectrum
  '';

  meta = with lib; {
    homepage = "https://spectrum-os.org/doc/";
    maintainers = with maintainers; [ qyliss ];
    licenses = with licenses; [ fdl13Plus /* or */ cc-by-sa-40 ];
  };
}