From 676e90564f64c08e1fe654de830ee5bccd3d3986 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Thu, 17 Aug 2017 11:24:28 +0800 Subject: [PATCH] perlPackages.Carp: 1.36 -> 1.38 Version 1.36 is no longer available upstream. --- pkgs/top-level/perl-packages.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 8601f266186..13c0497d6db 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -946,15 +946,15 @@ let self = _self // overrides; _self = with self; { }; }; - Carp = buildPerlPackage { - name = "Carp-1.36"; + Carp = buildPerlPackage rec { + name = "Carp-1.38"; src = fetchurl { - url = mirror://cpan/authors/id/R/RJ/RJBS/Carp-1.36.tar.gz; - sha256 = "dcc789935126461c80df0653f98c1d8d0b936dcc3d04174287cb02767eca123c"; + url = "mirror://cpan/authors/id/R/RJ/RJBS/${name}.tar.gz"; + sha256 = "00bijwwc0ix27h2ma3lvsf3b56biar96bl9dikxgx7cmpcycxad5"; }; - meta = { + meta = with stdenv.lib; { description = "Alternative warn and die for modules"; - license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + license = with licenses; [ artistic1 gpl1Plus ]; }; };