diff options
author | Stig <stig@stig.io> | 2021-09-08 12:10:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 12:10:08 +0200 |
commit | 4ee9590d2ff6061c910056076f6d77fb400cce91 (patch) | |
tree | 8d42d6ad4929529b3a88c1c76dc3023ca56dcece | |
parent | 3e9f6d7e99806a16c6a2b76fcba11dca64091f6d (diff) | |
parent | e21c64bbf13975b326ab53361a4b665cd87a2380 (diff) |
Merge pull request #135667 from thomasSDK/3-perlPackages
perlPackages: init 3 perl packages
-rw-r--r-- | pkgs/top-level/perl-packages.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 02f67b652ad6..c37f5d8fe587 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -1221,6 +1221,26 @@ let }; }; + BarcodeZBar = buildPerlPackage { + pname = "Barcode-ZBar"; + version = "0.04pre"; + # The meta::cpan version of this module has been unmaintained from 2009 + # This uses an updated version from the ZBar repo that works with the current ZBar library + src = "${pkgs.zbar.src}/perl"; + postPatch = '' + substituteInPlace Makefile.PL --replace "-lzbar" "-L${pkgs.zbar.lib}/lib -lzbar" + rm t/Processor.t + ''; + buildInputs =[ ExtUtilsMakeMaker ]; + propagatedBuildInputs = [ pkgs.zbar PerlMagick ]; + perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC"; + meta = { + homepage = "https://github.com/mchehab/zbar/tree/master/perl"; + description = "Perl interface to the ZBar Barcode Reader"; + license = with lib.licenses; [ gpl2Plus ]; + }; + }; + BC = buildPerlPackage { pname = "B-C"; version = "1.57"; @@ -5009,6 +5029,21 @@ let buildInputs = [ TestFailWarnings ]; }; + DataSectionSimple = buildPerlPackage { + pname = "Data-Section-Simple"; + version = "0.07"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/Data-Section-Simple-0.07.tar.gz"; + sha256 = "0b3035ffdb909aa1f7ded6b608fa9d894421c82c097d51e7171170d67579a9cb"; + }; + buildInputs = [ TestRequires ]; + meta = { + homepage = "https://github.com/miyagawa/Data-Section-Simple"; + description = "Read data from __DATA__"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + DataSerializer = buildPerlModule { pname = "Data-Serializer"; version = "0.65"; @@ -21742,6 +21777,21 @@ let }; }; + TestSnapshot = buildPerlPackage { + pname = "Test-Snapshot"; + version = "0.06"; + src = fetchurl { + url = "mirror://cpan/authors/id/E/ET/ETJ/Test-Snapshot-0.06.tar.gz"; + sha256 = "f4dd7a9a55baa2247540ae34210cd05a04f9d1061befec97a1c90eda95bfae45"; + }; + buildInputs = [ CaptureTiny ]; + propagatedBuildInputs = [ TextDiff ]; + meta = { + description = "Test against data stored in automatically-named file"; + license = lib.licenses.artistic2; + }; + }; + TestSpec = buildPerlPackage { pname = "Test-Spec"; version = "0.54"; |