Added a generator for CPAN expressions. Expressions often require manual editing, but still something..

svn path=/nixpkgs/trunk/; revision=11947
This commit is contained in:
Michael Raskin
2008-06-02 08:21:38 +00:00
parent 8b83b37ec5
commit b98a144355
12 changed files with 196 additions and 0 deletions
@@ -0,0 +1,10 @@
/path/to/write-nix-expression.sh Group::Module::Submodule
It will output Nix assignment formatted for placing into
all-packages.nix amongst all the perl packages, like perlAlgorithmDiff.
Actually it will grab distribution unit Group-Module-Submodule via
search.cpan.org, and make some effort to write correct dependencies.
If among requirements there are some that have empty META.yml, or if
any of requirements acannot be installed by just getting distribution
unit whose name can be guessed by replacing :: with -, manual editing
will be needed.