Commit Graph

311 Commits

Author SHA1 Message Date
github-actions[bot]
97b2abc678
Merge staging-next into staging 2023-03-26 12:02:02 +00:00
github-actions[bot]
72fc224baa
Merge staging-next into staging 2023-03-26 06:01:39 +00:00
apfelkuchen06
8e40747e62 perl536Packages.Po4a: remove texlive dependency
The motivation behind this is wanting to reduce the reverse closure size of
texlive.

When internationalizing tex files, Po4a attempts to follow included files. In
order to find the correct files, po4a uses texlive's file-finding utility
kpsewhich. This commit replaces texlive with a tiny shell script, which is
precisely good enough to run the tests.

This does not change the resulting package in any way, it only affects how the
test is run.
2023-03-26 01:11:05 -04:00
Stig Palmquist
33b7b0bf88
perlPackages.CatalystAuthenticationStoreHtpasswd: add patch to avoid DES encrypted passwords in tests 2023-03-26 04:14:40 +02:00
Stig Palmquist
301d70dae8
perlPackages.Plack: add patch to avoid DES encrypted passwords in tests 2023-03-25 23:20:55 +01:00
Artturi
44fd51cd47
Merge pull request #218503 from Artturin/strictdeps4 2023-03-02 18:45:34 +02:00
Artturin
07064726bf perlPackages.Po4a: enable strictDeps 2023-02-25 21:47:55 +02:00
Artturin
d707691b35 strip-nondeterminism: fix binary functioning on darwin
result/bin/strip-nondeterminism: bad interpreter: /nix/store/mym5b5zbzgny17ixqr8kgwmndc3k4y2r-perl-5.36.0/bin/perl -I/nix/store/mym5b5zbzgny17ixqr8kgwmndc3k4y2r-perl-5.36.0/lib: exec format error
2023-02-14 05:47:43 +02:00
Artturi
56c4f27b18
Merge pull request #215488 from alyssais/strip-nondeterminism-1.13.1
strip-nondeterminism: fix build
2023-02-09 17:21:53 +02:00
Alyssa Ross
92e6b205ed
strip-nondeterminism: 1.13.0 -> 1.13.1
Fixes build.
2023-02-09 10:35:27 +00:00
Andreas Wiese
fd3dc83046 ham: 2020-09-09 -> 2022-10-26 2023-02-06 16:18:49 +01:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
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