Commit Graph

280 Commits

Author SHA1 Message Date
Jonathan Ringer
c36c0bdba3 perlPackages: restore meta.positoin 2022-02-10 10:50:25 -08:00
Felix Buehler
44c6f10cc6 findimagedupes: make as separate package 2022-02-06 00:11:00 +01:00
Felix Buehler
f328da45ae findimagedupes: init at 2.19.1 2022-01-29 10:52:23 +01:00
Victor Engmark
57b496ea98 misc: Replace tab indentation with spaces
I've tried to be consistent, using four or eight spaces to line up
with existing code.
2021-11-14 16:04:46 +13:00
Stig Palmquist
c4095d0e41 perlPackages.mod_perl2: fix build on perl-5.34.0 2021-08-13 15:16:35 +02:00
Farid Zakaria
3987b0e481 strip-nondeterminism: file to propagatedBuildInput
`file` is used by the perl script.

```
sub _get_file_type($) {
	my $file=shift;
	open(FILE, '-|') # handle all filenames safely
	  || exec('file', $file)
	  || die "can't exec file: $!";
	my $type=<FILE>;
	close FILE;
	return $type;
}
```

This script is very handy to run within a `nix-build` context,
specifically during the fixupPhase.

Unfortunately, file is not propagated, and does not exist causing the
build to fail. Fix it by adding it.

Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com>
2021-06-29 20:51:50 -07:00
Vincenzo Mantova
3d385c7894
perlPackages.TextBibTeX: use lib instead of lib64 on aarch64 (#122567) 2021-05-15 10:04:35 +02:00
Alyssa Ross
a8afbb45c1 treewide: use lib.warnIf where appropriate 2021-04-28 21:44:21 +00:00
Stig Palmquist
8fca47fdc1 perlPackages.NetCIDRLite: 0.21 -> 0.22
Removed patch that is now in upstream
2021-04-05 18:02:52 +02:00
Stig Palmquist
7365de5ace perlPackages.NetCIDRLite: add patch to prevent leading zeroes in ipv4 octets
https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/
2021-03-30 12:31:27 +02:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Mica Semrick
310cb37f07 perlPackages.Po4a: 0.55 -> 0.62 2021-02-13 00:25:36 -08:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Pavol Rusnak
cf2a67fef3
pkgs/development: stdenv.lib -> lib
this takes care of the following folders in pkgs/development:
* arduino
* chez-modules
* go-packages
* guile-modules
* idris-modules
* perl-modules
* r-modules
* ruby-modules
2021-01-17 19:11:59 +01:00
Ben Siraphob
8dd78bb4fb treewide: fix double quoted strings in meta.description 2021-01-16 11:29:30 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Frederik Rietdijk
9e1943edc0 Merge master into staging-next 2020-10-13 19:34:34 +02:00
Andreas Wiese
c5b0c0aa4e ham: 2019-01-22 -> 2020-09-09 2020-10-13 11:39:04 +02:00
Jan Tojnar
32b4375f10
Merge branch 'staging-next' into staging 2020-09-29 00:12:29 +02:00
Frank Doepper
2ab6756314 youtube-viewer: 3.7.5 -> 3.7.9 2020-09-25 16:31:16 +02:00
volth
5481e02eba undo efc70eb6d7 2020-09-09 09:16:24 +00:00
Ben Wolsieffer
d61f1a4a5f perl: rename miniperl output from dev to mini 2020-08-17 13:43:42 -04:00
Stig Palmquist
e68e4ca4b0
perlPackages.CryptOpenPGP: init at 1.12
dependencies:
perlPackages.AltCryptRSABigInt: init at 0.06
perlPackages.ConvertASCIIArmour: init at 1.4
perlPackages.CryptCAST5_PP: init at 1.04
perlPackages.CryptDES_EDE3: init at 0.01
perlPackages.CryptDSA: init at 1.17
perlPackages.CryptRIPEMD160: init at 0.06
perlPackages.CryptTwofish: init at 2.17
perlPackages.DataBuffer: init at 0.04
perlPackages.DigestMD2: init at 2.04
perlPackages.MathPrimeUtil: init at 0.73
perlPackages.MathPrimeUtilGMP: init at 0.52
perlPackages.TieEncryptedHash: init at 1.24
2020-07-24 16:12:45 +02:00
Mario Rodas
5868f8f306
strip-nondeterminism: fix build on darwin 2020-07-18 07:30:00 -05:00
Jörg Thalheim
2d357db2e8
Merge pull request #92343 from Izorkin/percona-tools 2020-07-17 20:59:55 +01:00
Stig Palmquist
a05489fb90
perlPackages.WWWCurl: fix build
- Include patch from AUR to fix compatibility with newer libcurl.
- Fix build with clang
2020-07-16 09:35:58 +02:00
Izorkin
3fef7f3e54 perlPackages.PerconaToolkit: 3.0.12 -> 3.2.0 2020-07-05 17:56:03 +03:00
Frederik Rietdijk
c33ca7c5ce Merge staging-next into staging 2020-07-02 17:14:53 +02:00
Federico Rampazzo
ae16459305
PerconaToolkit: use shortenPerlShebang (#91921) 2020-07-01 18:26:18 -04:00
volth
2020e90cc8 perlPackages.POE: patches included upstream 2020-06-20 19:48:54 +00:00
volth
efc70eb6d7 perlPackages.XMLParser: update patch 2020-06-20 19:26:22 +00:00
Jan Tojnar
b4a6714571
Merge branch 'staging-next' into staging 2020-04-13 18:54:59 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jan Tojnar
55a5c128d4
Merge branch 'staging-next' into staging 2020-04-10 12:13:27 +02:00
Alexander Tomokhov
52ad14bbee youtube-viewer: 3.3.0 -> 3.7.5 2020-04-08 16:56:39 +03:00
John Ericson
fd85e86232
Merge pull request #75132 from samueldr/fix/cross/perl-xmlparser
perlPackages.XMLParser: Work around cross-compilation regression
2020-04-07 17:26:17 -04:00
volth
0cfef7224f perlPackages: fix build 2020-02-04 03:43:07 +00:00
Bas van Dijk
e5274c97cc perlPackages.TimeDate: use fetchpatch instead of storing the patch 2020-01-29 12:29:43 +01:00
Will Dietz
336155cf3f perlPackages.TimeDate: fix tests that fail as of 2020 2020-01-03 18:11:44 +01:00
c0bw3b
69b393ace5 Treewide: update some problematic homepages
These URLs are reported as problematic by Repology.
It could be a permanent redirection
or the page does not exist anymore
2019-12-08 10:21:29 -08:00
Samuel Dionne-Riel
706247fd10 perlPackages.XMLParser: Work around cross-compilation regression
Since 2.44_01, the behaviour for `check_lib` in their `Makefile.PL` has
been "fixed" to fail when the `assert_lib` function fails to build the
test.

 * 2bc1e90c04

Now, this wouldn't be so bad, since it's good to actually test what
stuff is being compiled against.

Except that *something* is wonky with the cross-compilation build-time
Perl.

```
Undefined subroutine &File::Temp::mktemp called at inc/Devel/CheckLib.pm line 236.
```

As far as I know, this is a built-in function from Perl.

 * https://perldoc.perl.org/File/Temp.html

Though, something *else* is wrong with `Checklib.pm`. Side-stepping the
issue by (eww) shelling out to `mktemp`, we get these errors:

```

/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-armv7l-unknown-linux-gnueabihf-binutils-2.31.1/bin/armv7l-unknown-linux-gnueabihf-ld: assertlib_src1_0.553056903257133: file not recognized: file truncated
collect2: error: ld returned 1 exit status
 -I/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.2.8-armv7l-unknown-linux-gnueabihf-dev/include -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.2.8-armv7l-unknown-linux-gnueabihf/lib -lexpat
/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-armv7l-unknown-linux-gnueabihf-binutils-2.31.1/bin/armv7l-unknown-linux-gnueabihf-ld: assertlib_src2_0.262169388446154: file not recognized: file truncated
collect2: error: ld returned 1 exit status
Can't link/include C library 'expat.h', 'expat', aborting.
```

Meanwhile, the actual build, while building the library, seemingly has
no issues building using those paths. `¯\_(ツ)_/¯`
2019-12-06 23:17:02 -05:00
John Ericson
d0d5136cce Merge remote-tracking branch 'upstream/master' into wrapper-pname-support 2019-11-24 17:25:07 +00:00
John Ericson
9b090ccbca treewide: Get rid of most parseDrvName without breaking compat
That is because this commit should be merged to both master and
release-19.09.
2019-11-24 17:22:28 +00:00
Michael Raskin
d690c20efd
Merge pull request #71814 from puckipedia/frozen-bubble
frozen-bubble: init at 2.212
2019-11-04 06:00:43 +00:00
Renaud
97a5c413a0
perlPackages.Po4a: fix build (#72170)
Fixes #71296 (Po4a build get stuck in a loop)

Term::ReadKey is an optional dependency. From upstream:
> This module is used to retrieve the terminal's line width.
> If it is not present, the line width can be specified with the COLUMN environment variable.
2019-10-28 17:27:33 +01:00
Puck Meerburg
f04dd341b7 perlPackages.AlienSDL: init at 1.446 2019-10-23 18:41:22 +00:00
volth
9e60fefc34 buildPerlPackage: remove postFixup
It has no effect since system-wide $PERL5LIB removed more than an year ago
2019-10-22 07:07:18 +00:00
volth
396190acb1 perlPackages: move CPAN libs to perl-packages.nix and non-CPAN libs out of perl-packages.nix 2019-10-22 07:07:18 +00:00
Frederik Rietdijk
12441bdf9f Merge staging-next into staging 2019-10-16 11:17:12 +02:00
Stig Palmquist
bd4b014963
perlPackages.DeviceMAC: init at 1.00
dependencies:
- perlPackages.DeviceOUI: init at 1.04

Patch to prevent random test failures in Device::OUI is included:

  https://rt.cpan.org/Public/Bug/Display.html?id=109209
  https://rt.cpan.org/Ticket/Attachment/1657288/889472/Device-OUI-1.04-hash.patch
2019-10-04 16:00:57 +02:00