-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
adrdox: init at v1.0.0 #62739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adrdox: init at v1.0.0 #62739
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally an install command would be added to the makefile upstream so that you do not need a custom install phase
adrdox got a proper version number now. I’ll update the PR and address the review comments this weekend. |
I've addressed each remark and squashed. |
@@ -948,6 +948,11 @@ | |||
github = "chiiruno"; | |||
name = "Okina Matara"; | |||
}; | |||
chloekek = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rewrite your git history into 2 single commits. The first commit should be adding this entry to maintainer-list.nix
and the second should be the other commits squashed into 1.
+ dmd doc2.d latex.d cgi.d comment.d stemmer.d dom.d script.d jsvar.d html.d color.d -J. $(LIBDPARSE) -g # -version=std_parser_verbose | ||
#dmd -of/var/www/dpldocs.info/locate locate.d dom.d stemmer.d cgi -J. -version=fastcgi -m64 -debug | ||
locate: | ||
dmd -of/var/www/dpldocs.info/locate locate.d dom.d stemmer.d cgi -J. -version=fastcgi -m64 -debug postgres.d database.d -L-L/usr/local/pgsql/lib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this patch written by you or did you find it upstream somewhere? Is there an issue upstream to fix this? A patch like this ideally doesn't belong in nixpkgs but should be in upstream.
|
||
stdenv.mkDerivation rec { | ||
pname = "adrdox"; | ||
version = "v1.0.0"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version part of the name attribute must start with a digit (following a dash) — e.g., "hello-0.3.1rc2".
src = fetchFromGitHub { | ||
owner = "adamdruppe"; | ||
repo = "adrdox"; | ||
rev = version; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given comment above this should be rev = "v${version}";
.
|
||
src = fetchFromGitHub { | ||
owner = "adamdruppe"; | ||
repo = "adrdox"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repo = pname;
is a fairly common thing to do.
Adding a package for the adrdox documentation generator for D.
Thank you for your contributions.
|
I marked this as stale due to inactivity. → More info |
Closing due to inactivity from author. |
Adding a package for the adrdox documentation generator for D.
Motivation for this change
I like this tool and it wasn't in Nixpkgs so I added it to Nixpkgs. It is used by several D projects for generating HTML documentation from source code.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)