From 2ecd96a135c97b83f4e2d3b8d2d08ed9832d9520 Mon Sep 17 00:00:00 2001 From: Michael Brantley Date: Fri, 6 Apr 2018 12:52:41 -0400 Subject: perlPackages.FileTouch: init at 0.11 Also corrected alphabetization for the FileTemp and FileType packages. --- pkgs/top-level/perl-packages.nix | 44 ++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 15 deletions(-) (limited to 'pkgs/top-level/perl-packages.nix') diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 25fea1bcdfb6..8316d8741054 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -5861,21 +5861,6 @@ let self = _self // overrides; _self = with self; { }; }; - FileTemp = null; - - FileType = buildPerlPackage { - name = "File-Type-0.22"; - src = fetchurl { - url = mirror://cpan/authors/id/P/PM/PMISON/File-Type-0.22.tar.gz; - sha256 = "0hfkaafp6wb0nw19x47wc6wc9mwlw8s2rxiii3ylvzapxxgxjp6k"; - }; - meta = { - description = "File::Type uses magic numbers (typically at the start of a file) to determine the MIME type of that file."; - license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; - platforms = with stdenv.lib.platforms; linux ++ darwin; - }; - }; - FileSlurp = buildPerlPackage { name = "File-Slurp-9999.19"; # WARNING: check on next update if deprecation warning is gone @@ -5916,6 +5901,35 @@ let self = _self // overrides; _self = with self; { }; }; + FileTemp = null; + + FileTouch = buildPerlPackage rec { + name = "File-Touch-0.11"; + src = fetchurl { + url = "mirror://cpan/authors/id/N/NE/NEILB/${name}.tar.gz"; + sha256 = "e379a5ff89420cf39906e5ceff309b8ce958f99f9c3e57ad52b5002a3982d93c"; + }; + meta = { + homepage = https://github.com/neilb/File-Touch; + description = "Update file access and modification times, optionally creating files if needed"; + license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + maintainers = [ maintainers.limeytexan ]; + }; + }; + + FileType = buildPerlPackage { + name = "File-Type-0.22"; + src = fetchurl { + url = mirror://cpan/authors/id/P/PM/PMISON/File-Type-0.22.tar.gz; + sha256 = "0hfkaafp6wb0nw19x47wc6wc9mwlw8s2rxiii3ylvzapxxgxjp6k"; + }; + meta = { + description = "File::Type uses magic numbers (typically at the start of a file) to determine the MIME type of that file."; + license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + platforms = with stdenv.lib.platforms; linux ++ darwin; + }; + }; + FileUtil = buildPerlPackage rec { name = "File-Util-4.161950"; src = fetchurl { -- cgit 1.4.1