summary refs log tree commit diff
path: root/maintainers/scripts/nix-generate-from-cpan.pl
Commit message (Collapse)AuthorAge
* nix-generate-from-cpan: use Module::CoreList to detect core modulesydlr2020-03-14
| | | | | The previous way of detecting core modules failed to filter "if" and possibly other core modules.
* nix-generate-from-cpan: remove unkown licenseydlr2020-03-13
| | | | | | | | Leave license empty when it is not provided. This prevents packages from failing to build because the license is set to `stdenv.lib.licenses.unkown`. There will still be a warning about the unkown license.
* nix-generate-from-cpan: strip leading v from versionsedef2019-09-25
| | | | | Everything currently in perl-packages.nix already does this, so we might as well automate it.
* nix-generate-from-cpan: use pname/version rather than versionedef2019-09-25
| | | | | | | | | The `name` parameter to buildPerlPackage is deprecated, and everything currently in perl-packages.nix has already been converted to use pname/version instead. This also changes the URLs to be pure string literals, matching the convention used in nixpkgs in practice.
* nix-generate-from-cpan: clean up build inputsRobert Helgesson2016-07-22
| | | | | In particular remove those build inputs that are already mentioned among the propagated build inputs. Fixes #10373.
* nix-generate-from-cpan: fix core module detectionRobert Helgesson2016-05-18
| | | | | | | This makes the detection of core modules a bit more robust by checking the module inclusion in a pure Perl interpreter. This ensures that any extra path in the `nix-generate-from-cpan` script's `PERL5LIB` does not affect the generated package expression.
* nix-generate-from-cpan: Skip "if" package since it's part of Perl nowEelco Dolstra2016-03-03
|
* nix-generate-from-cpan: Don't quote names that don't need itEelco Dolstra2016-03-03
|
* nix-generate-from-cpan: large refactorRobert Helgesson2016-01-23
| | | | | | | | | | | | | | | | | | | | This commit includes a substantial refactoring of `nix-generate-from-cpan`. This somewhat simplifies the code through the use of the CPAN::Meta module while adding the following features: - The program now takes an optional maintainer on the command line that is subsequently added into the generated package. - An attempt is made to convert the license specified inside the META.json or META.yaml file to a license in `stdenv.lib.licenses`. - An attempt is made to disambiguate attribute names of packages whose name is a reserved word in Nix. - Write logging output using Log::Log4perl. - Print module RSS feed URL. The RSS feed, hosted by MetaCPAN, can be used to track updates to the module.
* Fix various Perl packagesEelco Dolstra2014-11-25
| | | | | | | Perl 5.20 removed some modules, in particular Module::Pluggable. So now other modules need to get it from CPAN. http://hydra.nixos.org/build/17450281
* nix-generate-from-cpan: Handle META.jsonEelco Dolstra2013-07-16
| | | | Fixes #761.
* nix-generate-from-cpan: Hack to handle non-UTF-8 META.yml filesEelco Dolstra2013-06-16
|
* Rewrite the CPAN generator to PerlEelco Dolstra2013-06-13
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.