git.iko.soy/typeable/nixpkgs
on master help sign in
perl-if: 0.0601 -> 0.0606

Also, move the package into an attribute called "if" with the old "if_" attribute referencing the new one.

commitdaa188107d7f04d486416faef882958571cc7d23 authorRobert Helgesson <robert@rycee.net> dateSat 23 Jan 2016, 18:24 (11 years ago) parent8f9aea9
1 file changed+12−4
pkgs/top-level/perl-packages.nix+12−4
pkgs/top-level/perl-packages.nix+12−4
@@ -5899,14 +5899,22 @@ let self = _self // overrides; _self = with self; {
58995899 };
59005900 };
59015901
5902− if_ = buildPerlPackage {
5903− name = "if-0.0601";
5902+ "if" = buildPerlPackage rec {
5903+ name = "if-0.0606";
59045904 src = fetchurl {
5905− url = mirror://cpan/authors/id/I/IL/ILYAZ/modules/if-0.0601.tar.gz;
5906− sha256 = "fb2b7329aa111a673cd22dc2889167e52058aead0de2fe0855b32dd658d5c1b7";
5905+ url = "mirror://cpan/authors/id/R/RJ/RJBS/${name}.tar.gz";
5906+ sha256 = "63d69282d6c4c9e76370b78d770ca720cea88cfe5ee5b612709240fc6078d50e";
5907+ };
5908+ meta = {
5909+ description = "C<use> a Perl module if a condition holds (also can C<no> a module)";
5910+ license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
5911+ maintainers = [ maintainers.rycee ];
59075912 };
59085913 };
59095914
5915+ # For backwards compatibility.
5916+ if_ = self."if";
5917+
59105918 ImageSize = buildPerlPackage rec {
59115919 name = "Image-Size-3.232";
59125920 src = fetchurl {