Commit graph

299 commits

Author SHA1 Message Date
github-actions[bot] 33aa224777
Merge master into staging-next 2023-01-09 18:01:24 +00:00
Artturin d5febb8d7a strip-nondeterminism: 1.0.0 -> 1.13.0
https://salsa.debian.org/reproducible-builds/strip-nondeterminism/-/tags/1.13.0

move shortenPerlShebang to postBuild to fix tests
2023-01-09 18:33:56 +02:00
Artturin c01f509e44 treewide: source .attrs in builders
if theres a source $stdenv then this is needed

for structuredAttrs
2022-12-08 21:09:02 +02:00
Artturin adc8900df1 treewide: fix some core package structuredAttrs 2022-12-08 21:05:28 +02:00
Sandro 05c703fde0
Merge pull request #186464 from apraga/bioextalign-1.5.1 2022-10-22 00:34:42 +02:00
Alexis Praga 02ff423121 bioextalign: init at 1.5.1
Part of BioPerl Extensions (BioPerl-Ext) distribution, a collection of Bioperl C-compiled extensions. These are no longer maintained but needed for Ensembl-VEP (annotation
for genomics).

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-10-20 23:18:32 +02:00
github-actions[bot] 0ae3aa5345
Merge master into staging-next 2022-10-02 17:45:43 +00:00
Thomas Gerbet cbc685e754 apacheHttpdPackages.mod_perl: 2.0.11 -> 2.0.12
https://svn.apache.org/repos/asf/perl/modperl/tags/2_0_12/Changes
2022-10-02 12:06:39 +02:00
Arnout Engelen f2772c7749
perlPackages.Po4a: make devdoc reproducible 2022-09-25 22:29:52 +02:00
Yureka fec315a167 perlPackages.Po4a: disable tests on musl
Void linux package have investigated the failure and tracked it down to differences in gettext behavior. They decided to disable tests.
https://github.com/void-linux/void-packages/pull/34029#issuecomment-973267880
Alpine packagers have not worried about running the tests until now:
https://git.alpinelinux.org/aports/tree/main/po4a/APKBUILD#n11
2022-09-15 20:18:00 +02:00
Yureka b8a992605d perlPackages.Po4a: disable TextWrapI18n dependency on musl
This dependency is only used for formatting error message and pulls in a
dependency on glibc because it needs the /usr/bin/locale binary.
2022-09-15 20:18:00 +02:00
Janne Heß 98716fb271
perlPackages: Regenerate metadata (phase 2)
This is the automated phase, fetching stuff from metacpan
2022-08-21 20:26:48 +02:00
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