Packaging inspircd is relatively straightforward, once we adapt to the
slightly strange Perl configure script and it's firm opinion that
$prefix/usr should exist.
Most complexity in this derivation stems from the following:
* inspircd has modules which users can load dynamically in the form of
shared objects that link against other libraries for various tasks
* inspircd is licensed exclusively under the GPL version 2.
* Some of the libraries inspircd modules link against are GPL 2
incompatible (GPL 3, ASL 2.0) and we therefore must not distribute
these in binary form.
* Some modules combine GPL 2 code of inspircd and libc into a shared
object and may not be redistributed in binary form depending on the
license of the libc. Similarly for libc++.
Open Question: Does the fact that we may build the inspircd binary, i.
e. link against libc and libc++ imply that we can do this?
https://docs.inspircd.org/packaging/ seems to imply this is not the
case.
Thus we have some additional code which a) determines the set of modules
we should enable by default (the largest possible set as upstream
recommends it) and b) collects all applying licenses into meta.license.
continuation of #109595
pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.
python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/ircd-hybrid/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/ggb89l411451a7f99590qx4l374kjgbr-ircd-hybrid-8.2.24/bin/mkpasswd -h’ got 0 exit code
- ran ‘/nix/store/ggb89l411451a7f99590qx4l374kjgbr-ircd-hybrid-8.2.24/bin/mkpasswd --help’ got 0 exit code
- ran ‘/nix/store/ggb89l411451a7f99590qx4l374kjgbr-ircd-hybrid-8.2.24/bin/ircd help’ got 0 exit code
- found 8.2.24 with grep in /nix/store/ggb89l411451a7f99590qx4l374kjgbr-ircd-hybrid-8.2.24
- directory tree listing: https://gist.github.com/f272ead9b6591f5ffe113885b6151952
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
/tmp/tmp.m29kbtRZ7x /home/ryantm/.cache/nixpkgs
/home/ryantm/.cache/nixpkgs
- ran `/nix/store/z0r8fy3q89hq2dp62h084q6s5m9bpxi6-ircd-hybrid-8.2.22/bin/mkpasswd -h` got 0 exit code
- ran `/nix/store/z0r8fy3q89hq2dp62h084q6s5m9bpxi6-ircd-hybrid-8.2.22/bin/mkpasswd --help` got 0 exit code
- ran `/nix/store/z0r8fy3q89hq2dp62h084q6s5m9bpxi6-ircd-hybrid-8.2.22/bin/mkpasswd -V` and found version 8.2.22
- ran `/nix/store/z0r8fy3q89hq2dp62h084q6s5m9bpxi6-ircd-hybrid-8.2.22/bin/mkpasswd -v` and found version 8.2.22
- ran `/nix/store/z0r8fy3q89hq2dp62h084q6s5m9bpxi6-ircd-hybrid-8.2.22/bin/mkpasswd --version` and found version 8.2.22
- ran `/nix/store/z0r8fy3q89hq2dp62h084q6s5m9bpxi6-ircd-hybrid-8.2.22/bin/mkpasswd --help` and found version 8.2.22
- ran `/nix/store/z0r8fy3q89hq2dp62h084q6s5m9bpxi6-ircd-hybrid-8.2.22/bin/ircd help` got 0 exit code
- ran `/nix/store/z0r8fy3q89hq2dp62h084q6s5m9bpxi6-ircd-hybrid-8.2.22/bin/ircd version` and found version 8.2.22
- ran `/nix/store/z0r8fy3q89hq2dp62h084q6s5m9bpxi6-ircd-hybrid-8.2.22/bin/ircd help` and found version 8.2.22
- found 8.2.22 with grep in /nix/store/z0r8fy3q89hq2dp62h084q6s5m9bpxi6-ircd-hybrid-8.2.22
- directory tree listing: https://gist.github.com/4a91920bc15a662018a588fbd3e819d1
Uses the HTTPS url for cases where the existing URL has a permanent
redirect. For each domain, at least one fixed derivation URL was
downloaded to test the domain is properly serving downloads.
Also fixes jbake source URL, which was broken.
* pkgs: refactor needless quoting of homepage meta attribute
A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.
* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit
* Fixed some instances
The following parameters are now available:
* hardeningDisable
To disable specific hardening flags
* hardeningEnable
To enable specific hardening flags
Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.
cc-wrapper supports the following flags:
* fortify
* stackprotector
* pie (disabled by default)
* pic
* strictoverflow
* format
* relro
* bindnow
Some of these should be longDescriptions, but most others just
shouldn't contain newlines. E.g. write
description = "Bla";
and not
description = ''
Bla
'';
This pollutes "nix-env -qa --description" output.
svn path=/nixpkgs/trunk/; revision=14310
Unneded args.something replaced with
args: with args;
line. After this line args is the only place where we can recieve variables from.
Also removed several
buildInputs = [];
lines.
svn path=/nixpkgs/trunk/; revision=10415