Merge pull request #43315 from ryantm/cpan

treewide: replace search.cpan.org with metacpan.org
This commit is contained in:
xeji
2018-07-15 11:51:58 +02:00
committed by GitHub
7 changed files with 8 additions and 142 deletions

View File

@@ -17,7 +17,6 @@ buildPerlPackage rec {
doCheck = false;
meta = {
homepage = http://search.cpan.org/dist/DBD-Pg/;
description = "DBI PostgreSQL interface";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
platforms = stdenv.lib.platforms.unix;

View File

@@ -3,6 +3,8 @@ perl:
{ nativeBuildInputs ? [], name, ... } @ attrs:
perl.stdenv.mkDerivation (
(
perl.stdenv.lib.recursiveUpdate
{
outputs = [ "out" "devdoc" ];
@@ -20,9 +22,11 @@ perl.stdenv.mkDerivation (
# authors to skip certain tests (or include certain tests) when
# the results are not being monitored by a human being."
AUTOMATED_TESTING = true;
meta.homepage = "https://metacpan.org/release/${(builtins.parseDrvName name).name}";
}
//
attrs
)
//
{
name = "perl-" + name;