summary refs log tree commit diff
path: root/default.nix
blob: 6b057837e745663e97ac4c5196087a9158647b97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 ];
  };
}