Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

nix-generate-from-cpan: strip leading v from versions

Everything currently in perl-packages.nix already does this,
so we might as well automate it.

edef ac1fbe68 838902a8

+1 -1
+1 -1
maintainers/scripts/nix-generate-from-cpan.pl
··· 226 226 227 227 sub get_pkg_name { 228 228 my ($module) = @_; 229 - return ( $module->package_name, $module->package_version ); 229 + return ( $module->package_name, $module->package_version =~ s/^v(\d)/$1/r ); 230 230 } 231 231 232 232 sub read_meta {