diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-10-04 19:31:15 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-10-11 23:42:04 -0300 |
commit | 282cc4205cb5d624c33c60a86bc80c9c76be146a (patch) | |
tree | e61f21db208487015703c370c556d38e8f40b16b /pkgs/by-name/ro | |
parent | e0844b318367792631999f0b739e7ae8c6691ffc (diff) |
robodoc: migrate to by-name
Diffstat (limited to 'pkgs/by-name/ro')
-rw-r--r-- | pkgs/by-name/ro/robodoc/package.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/by-name/ro/robodoc/package.nix b/pkgs/by-name/ro/robodoc/package.nix new file mode 100644 index 0000000000000..d7f112080b2a1 --- /dev/null +++ b/pkgs/by-name/ro/robodoc/package.nix @@ -0,0 +1,53 @@ +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +}: + +stdenv.mkDerivation rec { + pname = "robodoc"; + version = "4.99.44"; + + src = fetchFromGitHub { + owner = "gumpu"; + repo = "ROBODoc"; + rev = "v${version}"; + hash = "sha256-l3prSdaGhOvXmZfCPbsZJNocO7y20zJjLQpajRTJOqE="; + }; + + postConfigure = lib.optionalString stdenv.isDarwin '' + substituteInPlace Docs/makefile.am \ + --replace 'man1_MANS = robodoc.1 robohdrs.1' 'man1_MANS =' + ''; + + nativeBuildInputs = [ autoreconfHook ]; + + hardeningDisable = [ "format" ]; + + meta = with lib; { + homepage = "https://github.com/gumpu/ROBODoc"; + description = "Documentation Extraction Tool"; + longDescription = '' + ROBODoc is program documentation tool. The idea is to include for every + function or procedure a standard header containing all sorts of + information about the procedure or function. ROBODoc extracts these + headers from the source file and puts them in a separate + autodocs-file. ROBODoc thus allows you to include the program + documentation in the source code and avoid having to maintain two separate + documents. Or as Petteri puts it: "robodoc is very useful - especially for + programmers who don't like writing documents with Word or some other + strange tool." + + ROBODoc can format the headers in a number of different formats: HTML, + RTF, LaTeX, or XML DocBook. In HTML mode it can generate cross links + between headers. You can even include parts of your source code. + + ROBODoc works with many programming languages: For instance C, Pascal, + Shell Scripts, Assembler, COBOL, Occam, Postscript, Forth, Tcl/Tk, C++, + Java -- basically any program in which you can use remarks/comments. + ''; + license = with licenses; gpl3Plus; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = with platforms; all; + }; +} |