doc  about / heads / tags
Unnamed repository
blob 6b057837e745663e97ac4c5196087a9158647b97 453 bytes (raw)
name: default.nix 	 # note: path name is non-authoritative(*)

 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 ];
  };
}

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

git clone https://inbox.spectrum-os.org/doc