Merge pull request #124880 from nkpvk/natural-docs

This commit is contained in:
Sandro 2021-06-03 17:59:06 +02:00 committed by GitHub
commit 66d245a51c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 41 additions and 3 deletions

View File

@ -7317,9 +7317,9 @@
githubId = 3159451;
name = "Nicolas Schneider";
};
nipav = {
nkpvk = {
email = "niko.pavlinek@gmail.com";
github = "nipav";
github = "nkpvk";
githubId = 16385648;
name = "Niko Pavlinek";
};

View File

@ -0,0 +1,36 @@
{ stdenv, fetchzip, makeWrapper, mono, lib }:
stdenv.mkDerivation rec {
pname = "natural-docs";
version = "2.1.1";
src = fetchzip {
url = "https://naturaldocs.org/download/natural_docs/${version}/Natural_Docs_${version}.zip";
sha256 = "03fizjgvhiw3lqyykqw1whdh97xyiy3f226c1348ll61ryjxamqw";
};
dontPatch = true;
dontConfigure = true;
dontBuild = true;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
cp -r . $out/
makeWrapper ${mono}/bin/mono $out/bin/NaturalDocs --add-flags "$out/NaturalDocs.exe"
'';
meta = with lib; {
description = "Documentation generator for multiple programming languages.";
longDescription = ''
Natural Docs is an open source documentation generator for multiple
programming languages. You document your code in a natural syntax that
reads like plain English. Natural Docs then scans your code and builds
high-quality HTML documentation from it.
'';
homepage = "https://naturaldocs.org";
license = licenses.agpl3Only;
maintainers = [ maintainers.nkpvk ];
};
}

View File

@ -24,6 +24,6 @@ buildPythonApplication rec {
description = "A command line oriented, sqlite powered, todo-list";
homepage = "https://yokadi.github.io/index.html";
license = licenses.gpl3Plus;
maintainers = [ maintainers.nipav ];
maintainers = [ maintainers.nkpvk ];
};
}

View File

@ -25388,6 +25388,8 @@ in
natron = callPackage ../applications/video/natron { };
natural-docs = callPackage ../applications/misc/natural-docs { };
neocomp = callPackage ../applications/window-managers/neocomp { };
newsflash = callPackage ../applications/networking/feedreaders/newsflash { };