Commit graph

13 commits

Author SHA1 Message Date
William A. Kennington III
bdb842d5eb Move all db4 packages to the default db5 2014-02-15 12:03:02 +01:00
Eelco Dolstra
cf4acab567 manual: Document Java support 2014-01-13 13:15:59 +01:00
Eelco Dolstra
5d6259a973 Add a setup hook that automatically sets up $CLASSPATH
All JARs in $pkg/share/java (for each $pkg in the build inputs) are
added to $CLASSPATH.  Thus, you can say

  buildInputs = [ setJavaClassPath someJavaDependency ];

and the JARs in someJavaDependency will be found automatically by
tools like javac or ant.

Note that the manual used to say that JARs should be installed in
lib/java; this is now share/java, following the Debian policy:

  http://www.debian.org/doc/packaging-manuals/java-policy/x110.html

The directory share/java makes more sense because JARs are
architecture-independent.  (Also, a quick grep shows that we were not
exactly consistent about this in Nixpkgs.)
2014-01-06 14:36:14 +01:00
Eelco Dolstra
629daa2102 Rewrite the CPAN generator to Perl
Also:

- It's now installable by doing "nix-env -i nix-generate-from-cpan".

- It maps dependencies to the correct attribute (e.g. HTML::HeadParser
  is mapped to HTMLParser).

- It automatically selects buildPerlPackage or buildPerlModule.

- It's documented in the manual.
2013-06-13 15:56:23 +02:00
Eelco Dolstra
8165e2ddb0 Document that Java packages should install JARs in $out/lib/java 2012-11-08 16:31:08 +01:00
Rob Vermaas
b3c63a98f0 Remove all svn references 2012-09-04 16:14:01 +02:00
Eelco Dolstra
09ab016c6c * Sync CSS with the Nix manual.
svn path=/nixpkgs/trunk/; revision=34062
2012-05-11 21:42:00 +00:00
Eelco Dolstra
063f44d23c * Move classification.txt to the manual.
svn path=/nixpkgs/trunk/; revision=18419
2009-11-18 13:54:20 +00:00
Eelco Dolstra
24da0cbad8 svn path=/nixpkgs/trunk/; revision=17416 2009-09-25 11:15:50 +00:00
Ludovic Courtès
c6e65bd1c6 doc: Mention `buildPythonPackage'.
svn path=/nixpkgs/trunk/; revision=15718
2009-05-25 00:10:20 +00:00
Eelco Dolstra
c61c9dc35b * Drop the "perl" prefix from Perl attribute names. It's redundant
now that Perl packages are in their own namespace
  (perlPackages.<pkg>).

svn path=/nixpkgs/trunk/; revision=15176
2009-04-20 12:49:35 +00:00
Eelco Dolstra
dd2e74e02b * Updated the Perl section of the manual.
svn path=/nixpkgs/trunk/; revision=15173
2009-04-20 12:23:01 +00:00
Eelco Dolstra
034248f57a * Document the generic Perl builder.
svn path=/nixpkgs/trunk/; revision=15124
2009-04-18 11:09:24 +00:00