nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

perl-packages.nix (5422B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchurl,
      5   perlPackages,
      6 }:
      7 with perlPackages;
      8 rec {
      9   MatchSimple = buildPerlPackage rec {
     10     pname = "match-simple";
     11     version = "0.010";
     12     src = fetchurl {
     13       url = "mirror://cpan/authors/id/T/TO/TOBYINK/${pname}-${version}.tar.gz";
     14       hash = "sha256-itYBTU5AJA3DNY+9yQf9OZJlUcGAs6Qnn42hgfF/dss=";
     15     };
     16     buildInputs = [ TestFatal ];
     17     propagatedBuildInputs = [
     18       ExporterTiny
     19       ScalarListUtils
     20       SubInfix
     21     ];
     22     meta = {
     23       homepage = "https://metacpan.org/pod/match::smart";
     24       description = "match::smart - clone of smartmatch operator";
     25       license = lib.licenses.free;
     26     };
     27   };
     28 
     29   SubInfix = buildPerlPackage rec {
     30     pname = "Sub-Infix";
     31     version = "0.004";
     32     src = fetchurl {
     33       url = "mirror://cpan/authors/id/T/TO/TOBYINK/${pname}-${version}.tar.gz";
     34       hash = "sha256-XK6q2marSv39rlbAI+CZiAVDqafB+THyCoNNWIHBXss=";
     35     };
     36     buildInputs = [ TestFatal ];
     37     meta = {
     38       homepage = "https://metacpan.org/pod/Sub::Infix";
     39       description = "Sub::Infix - create a fake infix operator";
     40       license = lib.licenses.free;
     41     };
     42   };
     43 
     44   MathPolygon = buildPerlPackage rec {
     45     pname = "Math-Polygon";
     46     version = "1.10";
     47     src = fetchurl {
     48       url = "mirror://cpan/authors/id/M/MA/MARKOV/${pname}-${version}.tar.gz";
     49       hash = "sha256-Ag1fbn/z2hfkhSNN+16TVSjmd01XYJQ9h2X6sCvfwtc=";
     50     };
     51     meta = {
     52       homepage = "https://metacpan.org/pod/Math::Polygon";
     53       description = "Math::Polygon - Class for maintaining polygon data";
     54       license = lib.licenses.free;
     55     };
     56   };
     57 
     58   MathPolygonTree = buildPerlPackage rec {
     59     pname = "Math-Polygon-Tree";
     60     version = "0.08";
     61     src = fetchurl {
     62       url = "mirror://cpan/authors/id/L/LI/LIOSHA/${pname}-${version}.tar.gz";
     63       hash = "sha256-nJDRHywc/80cD/OxOCXyxWt/rywwdNbau7LckIHVYow=";
     64     };
     65     propagatedBuildInputs = [
     66       ListMoreUtils
     67       MathGeometryPlanarGPCPolygonXS
     68     ];
     69     meta = {
     70       homepage = "https://metacpan.org/pod/Math::Polygon::Tree";
     71       description = "Math::Polygon::Tree - fast check if point is inside polygon";
     72       license = lib.licenses.free;
     73     };
     74   };
     75 
     76   MathGeometryPlanarGPCPolygonXS = buildPerlPackage rec {
     77     pname = "Math-Geometry-Planar-GPC-PolygonXS";
     78     version = "0.052";
     79     src = fetchurl {
     80       url = "mirror://cpan/authors/id/L/LI/LIOSHA/${pname}-${version}.tar.gz";
     81       hash = "sha256-9FFJ/+vmZMR/oKBxCYLtmpPnaFe2KYRDYZpdSs7sskE=";
     82     };
     83     meta = {
     84       homepage = "https://metacpan.org/pod/Math::Geometry::Planar::GPC::PolygonXS";
     85       description = "Math::Geometry::Planar::GPC::PolygonXS - OO wrapper to gpc library (translated from Inline-based Math::Geometry::Planar::GPC::Polygon to XS)";
     86       license = lib.licenses.free;
     87     };
     88   };
     89 
     90   TreeR = buildPerlPackage rec {
     91     pname = "Tree-R";
     92     version = "0.072";
     93     src = fetchurl {
     94       url = "mirror://cpan/authors/id/A/AJ/AJOLMA/${pname}-${version}.tar.gz";
     95       hash = "sha256-7fEpfcWbjahnO9Oz/Y7eif15cqcD/5B7F2b/xwLbVDg=";
     96     };
     97     meta = {
     98       homepage = "https://metacpan.org/pod/Tree::R";
     99       description = "Tree::R - Perl extension for the R-tree data structure and algorithms";
    100       license = lib.licenses.free;
    101     };
    102   };
    103 
    104   GeoOpenstreetmapParser = buildPerlPackage rec {
    105     pname = "Geo-Openstreetmap-Parser";
    106     version = "0.03";
    107     src = fetchurl {
    108       url = "mirror://cpan/authors/id/L/LI/LIOSHA/${pname}-${version}.tar.gz";
    109       hash = "sha256-iygsM5Ha+hy4MN8Q4aLoRfpScYzYSSe73bDnyqofRpM=";
    110     };
    111     propagatedBuildInputs = [
    112       ListMoreUtils
    113       XMLParser
    114     ];
    115     meta = {
    116       homepage = "https://metacpan.org/pod/Geo::Openstreetmap::Parser";
    117       description = "Geo::Openstreetmap::Parser - Openstreetmap XML dump parser";
    118       license = lib.licenses.free;
    119     };
    120   };
    121 
    122   GeoNamesRussian = buildPerlPackage rec {
    123     pname = "Geo-Names-Russian";
    124     version = "0.02";
    125     src = fetchurl {
    126       url = "mirror://cpan/authors/id/L/LI/LIOSHA/${pname}-${version}.tar.gz";
    127       hash = "sha256-muwoy5iLY2UsU89XaohMDVvaTKzpOu8ui4vx11H4mco=";
    128     };
    129     propagatedBuildInputs = [
    130       ListMoreUtils
    131       EncodeLocale
    132     ];
    133     meta = {
    134       homepage = "https://metacpan.org/pod/Geo::Names::Russian";
    135       description = "Geo::Names::Russian - parse and split russian geographical names";
    136       license = lib.licenses.free;
    137     };
    138   };
    139 
    140   DateTimeFormatEXIF = buildPerlPackage rec {
    141     pname = "DateTime-Format-EXIF";
    142     version = "0.002";
    143     src = fetchurl {
    144       url = "mirror://cpan/authors/id/L/LI/LIOSHA/${pname}-${version}.tar.gz";
    145       hash = "sha256-a3S36YhWUYKJiMEy0nBqedJtlhZlddyeO3MFmoLhXTE=";
    146     };
    147     propagatedBuildInputs = [ DateTimeFormatBuilder ];
    148     meta = {
    149       homepage = "https://metacpan.org/pod/DateTime::Format::EXIF";
    150       description = "DateTime::Format::EXIF - DateTime parser for EXIF timestamps";
    151       license = lib.licenses.free;
    152     };
    153   };
    154 
    155   IpcShareLite = buildPerlPackage rec {
    156     pname = "IPC-ShareLite";
    157     version = "0.17";
    158     src = fetchurl {
    159       url = "mirror://cpan/authors/id/A/AN/ANDYA/${pname}-${version}.tar.gz";
    160       hash = "sha256-FNQGuR2pbWUh0NGoLSKjBidHZSJrhrClbn/93Plq578=";
    161     };
    162     propagatedBuildInputs = [ ];
    163     meta = {
    164       homepage = "https://metacpan.org/pod/IPC::ShareLite";
    165       description = "IPC::ShareLite - Lightweight interface to shared memory";
    166       license = lib.licenses.free;
    167     };
    168   };
    169 }