From a42856556f46fb37f0cd452629b3a2f24f2e5901 Mon Sep 17 00:00:00 2001 From: volth Date: Wed, 6 Feb 2019 16:53:18 +0000 Subject: [PATCH] [cpan2nix] perlPackages.GeoIP2: init at 2.006001 dependencies: perlPackages.DataIEEE754: init at 0.02 perlPackages.DataPrinter: init at 0.40 perlPackages.MaxMindDBCommon: init at 0.040001 perlPackages.MaxMindDBReader: init at 1.000013 perlPackages.TestBits: init at 0.02 --- pkgs/top-level/perl-packages.nix | 81 ++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 24ff673b8fa1..4eac36563da1 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -3266,6 +3266,19 @@ let }; }; + DataIEEE754 = buildPerlPackage { + name = "Data-IEEE754-0.02"; + src = fetchurl { + url = mirror://cpan/authors/id/M/MA/MAXMIND/Data-IEEE754-0.02.tar.gz; + sha256 = "07b73dlxd0qmxgkkrpa2xr61y18v3adlf1qgnl9k90kj8q9spx66"; + }; + buildInputs = [ TestBits ]; + meta = { + description = "Pack and unpack big-endian IEEE754 floats and doubles"; + license = with stdenv.lib.licenses; [ artistic2 ]; + }; + }; + DataInteger = buildPerlModule rec { name = "Data-Integer-0.006"; src = fetchurl { @@ -3334,6 +3347,19 @@ let }; }; + DataPrinter = buildPerlPackage { + name = "Data-Printer-0.40"; + src = fetchurl { + url = mirror://cpan/authors/id/G/GA/GARU/Data-Printer-0.40.tar.gz; + sha256 = "0njjh8zp5afc4602jrnmg89icj7gfsil6i955ypcqxc2gl830sb0"; + }; + propagatedBuildInputs = [ ClonePP FileHomeDir PackageStash SortNaturally ]; + meta = { + description = "colored pretty-print of Perl data structures and objects"; + license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + DataSection = buildPerlPackage rec { name = "Data-Section-0.200007"; src = fetchurl { @@ -6215,6 +6241,20 @@ let doCheck = false; # seems to access the network }; + GeoIP2 = buildPerlPackage { + name = "GeoIP2-2.006001"; + src = fetchurl { + url = mirror://cpan/authors/id/M/MA/MAXMIND/GeoIP2-2.006001.tar.gz; + sha256 = "05pb8bj2dkfcn8z56f8dcs76x65xcn05fywm7vifmfh39qgkmm62"; + }; + propagatedBuildInputs = [ JSONMaybeXS LWPProtocolHttps MaxMindDBReader ParamsValidate Throwable ]; + buildInputs = [ PathClass TestFatal TestNumberDelta ]; + meta = { + description = "Perl API for MaxMind's GeoIP2 web services and databases"; + license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + GetoptArgvFile = buildPerlPackage rec { name = "Getopt-ArgvFile-1.11"; src = fetchurl { @@ -9156,6 +9196,33 @@ let }; }; + MaxMindDBCommon = buildPerlPackage { + name = "MaxMind-DB-Common-0.040001"; + src = fetchurl { + url = mirror://cpan/authors/id/M/MA/MAXMIND/MaxMind-DB-Common-0.040001.tar.gz; + sha256 = "1mqvnabskhyvi2f10f602gisfk39ws51ky55lixd0033sd5xzikb"; + }; + propagatedBuildInputs = [ DataDumperConcise DateTime ListAllUtils MooXStrictConstructor ]; + meta = { + description = "Code shared by the MaxMind DB reader and writer modules"; + license = with stdenv.lib.licenses; [ artistic2 ]; + }; + }; + + MaxMindDBReader = buildPerlPackage { + name = "MaxMind-DB-Reader-1.000013"; + src = fetchurl { + url = mirror://cpan/authors/id/M/MA/MAXMIND/MaxMind-DB-Reader-1.000013.tar.gz; + sha256 = "0w7dmfhpibazrh75bdr7vmpji83fzldsy0zjvhg3cwadr4f35kmq"; + }; + propagatedBuildInputs = [ DataIEEE754 DataPrinter DataValidateIP MaxMindDBCommon ]; + buildInputs = [ PathClass TestBits TestFatal TestNumberDelta TestRequires ]; + meta = { + description = "Read MaxMind DB files and look up IP addresses"; + license = with stdenv.lib.licenses; [ artistic2 ]; + }; + }; + Memoize = buildPerlPackage { name = "Memoize-1.03"; src = fetchurl { @@ -14567,6 +14634,20 @@ let buildInputs = [ AlgorithmDiff TextDiff ]; }; + TestBits = buildPerlPackage { + name = "Test-Bits-0.02"; + src = fetchurl { + url = mirror://cpan/authors/id/D/DR/DROLSKY/Test-Bits-0.02.tar.gz; + sha256 = "1hqbvqlkj3k9ys4zq3f1fl1y6crni8r0ynan673f49rs91b6z0m9"; + }; + propagatedBuildInputs = [ ListAllUtils ]; + buildInputs = [ TestFatal ]; + meta = { + description = "Provides a bits_is() subroutine for testing binary data"; + license = with stdenv.lib.licenses; [ artistic2 ]; + }; + }; + TestCheckDeps = buildPerlPackage rec { name = "Test-CheckDeps-0.010"; src = fetchurl {