Janne Heß
3d3188ba0b
perlPackages: Regenerate metadata (phase 1)
...
This is required because my parser/generator is very primitive :/
2022-08-21 16:37:15 +02:00
Sandro
fe72f925f5
Merge pull request #176792 from malob/fix-buildPerlPackages-pname
2022-06-23 13:26:03 +02:00
Malo Bourgon
ba40bab6e5
perlPackages: add meta.mainProgram to pacakges with single executable
...
where the executable's name differs from the packages `name` or `pname`
2022-06-07 14:53:09 -07:00
Malo Bourgon
399732b449
buildPerlPackage: don't mess with pname
and phase out use of name
...
Currently `buildPerlPackage` prefixes the Perl version to the package's
`pname`, which results in `nix run` not being able to work for any
packages build with it out of the box. This commit corrects that and
phases out the ability to set `name` directly, as well as refactors the
code to not require `cleanedAttrs`.
2022-06-07 12:49:23 -07:00
Malo Bourgon
61beb33b83
Revert "perlPackages: add default meta.mainProgram ( #176398 )"
...
This reverts commit ff7b216dcf
.
2022-06-07 12:20:33 -07:00
Jonas Chevalier
ff7b216dcf
perlPackages: add default meta.mainProgram ( #176398 )
...
Because perl packages are prefixed with the perl version, it means that
the `lib.getExe` heuristic will never point to the binary name. So we
provide the meta.mainProgram that overrides that, using the original
pname or parsed name. It's not perfect but should yield better results
already.
2022-06-06 14:35:07 +02:00
Artturin
1d44ac176c
treewide: add enableParallelBuilding's to bootstrap packages so hashes stay the same
...
when enableParallelBuildingByDefault is enabled
verified with
`nix-diff $(nix eval ".#gcc-unwrapped.drvPath") $(nix eval --expr 'with import ./. { config = { enableParallelBuildingByDefault = true; }; }; gcc-unwrapped.drvPath' --impure)`
2022-05-25 16:03:14 +03:00
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
Alyssa Ross
979811fa43
Revert "perl-modules: do not create perllocal.pod, for determinism"
...
This reverts commit d0bad145f5
.
We don't need this any more, because the generated timestamps are
always set to 1970-01-01.
Reverting this will mean we get man pages for perl programs for free,
because those are generally part of the `install' target.
2019-10-03 10:25:14 +00:00
Vladimír Čunát
22a216849b
Re-Revert "Merge branch 'staging-next'"
...
This reverts commit f8a8fc6c7c
.
2019-09-22 09:38:09 +02:00
Vladimír Čunát
f8a8fc6c7c
Revert "Merge branch 'staging-next'"
...
This reverts commit 41af38f372
, reversing
changes made to f0fec244ca
.
Let's delay this. We have some serious regressions.
2019-09-21 20:05:09 +02:00
Izorkin
329a88efa7
treewide: replace mysql.connector-c to libmysqlclient
2019-09-09 15:55:34 +03:00
Alyssa Ross
cd714e7205
perlPackages.MHonArc: fix build
2019-09-07 18:35:26 +00:00
volth
08f68313a4
treewide: remove redundant rec
2019-08-28 11:07:32 +00:00
Florian Klink
472f3254a8
perlPackages.DBDOracle: fix darwin build
2019-08-22 12:32:32 +02:00
Florian Klink
47c60b3823
perlPackages.DBDOracle: 1.76 -> 1.80
2019-08-22 11:22:51 +02:00
Florian Klink
6081611046
oracle-instantclient: turn into a multi-output derivation
2019-08-22 11:22:48 +02:00
volth
b46e5ea184
buildPerlPackage: recognize "#!perl" as shebang
2019-07-03 08:38:20 +02:00
volth
b3cc65f8b9
buildPerlPackage: name -> (pname, version)
2019-06-20 15:56:50 +00:00
worldofpeace
764c298111
perl: get perl in HOST_PATH for patch-shebangs
2019-05-17 17:04:29 -04:00
Frederik Rietdijk
f0a4305e0a
Merge staging-next into staging
2019-05-14 10:24:46 +02:00
c0bw3b
9cb260d091
[treewide] delete unused patches
2019-05-04 19:52:24 +02:00
volth
120398ab4b
perlPackages: fix build packages for non-default perl
2019-05-03 10:53:36 +00:00
volth
4bbd5b8e30
perlPackages.DBD-mysql: 4.046 -> 4.050
2019-04-22 16:01:25 +00:00
volth
e64b3ed477
perlPackages.BerkeleyDB: 0.55 -> 0.61
2019-04-22 16:01:25 +00:00
volth
1e0e721f2a
perlPackages.DBD-SQLite: 1.58 -> 0.62
2019-04-22 16:01:25 +00:00
volth
bb927b8ba0
perlPackages.CompressRawZlib: 2.081 -> 2.086
2019-04-22 16:01:25 +00:00
volth
9629c3d8ac
perlPackages.DB_File: 1.842 -> 1.851
2019-04-22 16:01:25 +00:00
volth
03eaa480bd
perl: add .withPackages
2019-04-12 09:09:06 +00:00
Jan Tojnar
cb1a20499a
Merge branch 'master' into staging
2019-04-05 11:37:15 +02:00
aanderse
427320c659
perlPackages.DBDOracle: init at 1.76 ( #58726 )
2019-04-02 23:14:32 +02:00
Michael Eden
33ef2829b6
perlPackages.TermReadKey: add workarounds for cross compilation
2019-02-18 17:31:59 -05:00
volth
aefd9db91b
buildPerlPackage: provide default value for meta.platforms
2019-01-18 12:47:58 +00:00
volth
bb9557eb7c
lib.makePerlPath -> perlPackages.makePerlPath
2018-12-15 03:50:31 +00:00
volth
e45acd6b81
perlPackages: remove old broken packets
...
Remove packets which marked 'broken' because they target old versions of Perl which are unsupported in nixpkgs.
The most recent releases of those packages are dated 2003-2013
2018-11-27 08:11:10 +00:00
volth
5f91657ad1
remove support for pre-5.26 Perl
2018-10-03 19:29:58 +00:00
volth
9654348e82
[cpan2nix] perlPackages.DBFile: 1.841 -> 1.842
2018-08-25 13:04:38 +00:00
xeji
8c784998f6
Merge pull request #44421 from volth/perl-524-528
...
perl: 5.24.4 -> 5.28.0
2018-08-03 22:02:21 +02:00
Frederik Rietdijk
ad47d658d1
Merge master into staging-next
2018-07-21 19:43:53 +02:00
volth
52f53c69ce
pkgs/*: remove unreferenced function arguments
2018-07-21 02:48:04 +00:00
volth
391d9ecc09
perlPackages -> perl{522,524,526,528}Packages
2018-07-16 19:26:05 +00:00
Ryan Mulligan
220618ef9c
perlPackages: remove search.cpan.org; add metacpan.org default homepage
...
https://www.perl.com/article/saying-goodbye-to-search-cpan-org/
maybe one operation less
..with unifying recursiveUpdate and first //
although not tested
fix whitespace
2018-07-14 18:49:00 -07:00
Tyson Whitehead
321f13427c
lwp-protocol-https: honour NIX_SSL_CERT_FILE
2018-06-29 16:29:22 -04:00
volth
00a4323e62
[staging] perlPackages.CatalystXScriptServerStarman: fix build
2018-06-24 00:28:18 +02:00
volth
208a3ff6c0
perlPackages.DBDSQLite: 1.55_07 -> 1.58 (please ignore it)
2018-06-08 21:54:37 +00:00
volth
3f107b617f
perlPackages.DBDPg: 3.5.3 -> 3.7.4 ( #41677 )
2018-06-08 19:19:11 +02:00
volth
2b4653461c
perlPackages.UnicodeString: 2.09 -> 2.10 ( #41698 )
...
* perlPackages.UnicodeString: 2.09 -> 2.10
* perlPackages.UnicodeString: fix url
2018-06-08 18:57:28 +02:00
Jörg Thalheim
94b62ba4f1
Merge pull request #41693 from volth/patch-145
...
perlPackages.DBDmysql: 4.041 -> 4.046
2018-06-08 14:57:27 +01:00
volth
85fc222296
perlPackages.DBDmysql: 4.041 -> 4.046
2018-06-08 13:48:50 +00:00
volth
757a58ed2f
[cpan2nix] perlPackages.GD: 2.53 -> 2.68
...
dependencies:
perlPackages.TestFork: init at 0.02
2018-06-08 13:40:06 +00:00
Jörg Thalheim
10c2fd43d3
Merge pull request #41676 from volth/patch-137
...
perlPackages.CompressRawZlib: 2.074 -> 2.081
2018-06-08 14:13:28 +01:00