Commit Graph
100 Commits
Author SHA1 Message Date
Kim Lindberger d5b146418e Merge pull request #103146 from talyz/keepassxc-networking
keepassxc: Enable networking by default
2020-11-17 23:31:06 +01:00
talyz cfdeea41e6 keepassxc: Enable networking by default
Upstream builds with it enabled, as do other distros.
2020-11-08 16:40:23 +01:00
Kim Lindberger 966791f447 Merge pull request #102948 from talyz/keycloak-11.0.3
keycloak: 11.0.2 -> 11.0.3
2020-11-05 19:50:12 +01:00
talyz 23b43eb476 keycloak: 11.0.2 -> 11.0.3 2020-11-05 18:39:44 +01:00
Kim Lindberger cf2d180a12 Merge pull request #99906 from talyz/keycloak
nixos/keycloak: Init
2020-11-03 18:31:19 +01:00
talyz 89e83833af nixos/keycloak: Add support for MySQL and external DBs with SSL
- Add support for using MySQL as an option to PostgreSQL.
- Enable connecting to external DBs with SSL
- Add a database port config option
2020-10-29 12:47:10 +01:00
talyz d1d3c86c70 rl-2103: Note the addition of the Keycloak service 2020-10-29 12:08:06 +01:00
talyz c6e4388449 nixos/keycloak: Add documentation 2020-10-29 12:08:01 +01:00
talyz fe5a16aee6 nixos/keycloak: Document internal functions 2020-10-29 12:07:55 +01:00
talyz 31fe90d6ef nixos/keycloak: Add test 2020-10-29 12:07:49 +01:00
talyz 513599a6d7 nixos/keycloak: Init 2020-10-27 19:01:26 +01:00
Kim Lindberger a5aebef73b Merge pull request #99395 from talyz/nomachine-6.12.3
nomachine-client: 6.11.2 -> 6.12.3
2020-10-15 09:34:12 +02:00
talyz e635dccfdd nomachine-client: 6.11.2 -> 6.12.3 2020-10-02 16:46:53 +02:00
Kim Lindberger 7888f8c451 Merge pull request #92702 from stigtsp/package/convos-4.23
convos: 4.22 -> 4.23
2020-07-09 14:01:11 +02:00
Kim Lindberger c00bf081d9 Merge pull request #88940 from stigtsp/package/convos-init
convos: init at 4.22
2020-06-25 09:32:33 +02:00
Kim Lindberger 926afba09c Merge pull request #91130 from austinbutler/nomachine-6.11.2
nomachine-client: 6.10.12 -> 6.11.2
2020-06-23 14:04:32 +02:00
Kim Lindberger d245896789 Merge pull request #90139 from doronbehar/mariadb-unblock
mariadb: don't move pam files on Darwin
2020-06-11 21:02:48 +02:00
talyz 0b5c534598 gitlab: 13.0.3 -> 13.0.4
https://about.gitlab.com/releases/2020/06/03/critical-security-release-13-0-4-released/
2020-06-04 14:32:45 +02:00
Kim Lindberger b084cf2d30 Merge pull request #89266 from talyz/mysqlnd-fix-compression
php.extensions.mysqlnd: Fix compression support
2020-06-03 21:42:26 +02:00
talyz 2e0d4a8b39 php.extensions.mysqlnd: Fix compression support
HAVE_ZLIB has to be defined in mysqlnd.h for compression support to be
turned on, but the configure script doesn't actually define it even
when zlib is available.
2020-06-02 15:37:19 +02:00
talyz 5db5b25c63 php.extensions: Apply patches from the php source root by default 2020-06-02 15:37:14 +02:00
talyz bfdc832aef php.buildEnv: Let enabled extensions to pass through by default
If only extraConfig is specified in buildEnv, keep the currently
enabled extensions active. Brought up in #89011.
2020-05-29 00:32:12 +02:00
Kim Lindberger 825e20ff46 Merge pull request #82753 from Kloenk/feature/engelsystem
engelsystem: init at 3.1.0
2020-05-24 16:31:23 +02:00
talyz 1e343d1638 nixos/engelsystem: Add test 2020-05-24 15:45:22 +02:00
Kim Lindberger 985d726b80 Merge pull request #86070 from kimat/kimat-gitin
gitAndTools.gitin: init at 0.27.8
2020-05-24 15:32:16 +02:00
Kim Lindberger 79a8a52920 Merge pull request #87941 from etu/composer-update
php.packages.composer: 1.10.5 -> 1.10.6
2020-05-16 22:08:11 +02:00
Kim Lindberger f79fe9334d Merge pull request #87956 from etu/phpstan-update
php.packages.phpstan: 0.12.19 -> 0.12.25
2020-05-16 22:07:29 +02:00
Kim Lindberger 37f904592b Merge pull request #86492 from etu/php-extension-init-rdkafka
php.extensions.rdkafka: init at 4.0.3
2020-05-16 21:31:25 +02:00
Kim Lindberger ecb1d7de29 Merge pull request #87843 from talyz/nomachine-archive
nomachine-client: Add archive.org to source urls
2020-05-15 18:53:27 +02:00
talyz 022f2cc02f nomachine-client: Add archive.org to source urls
NoMachine removes each old release as soon as a new one is available,
resulting in failed downloads. Thankfully, the Internet Archive
provides backups of old downloads, so we can use it as a fallback.
2020-05-14 23:03:09 +02:00
Kim Lindberger 4f7a8b4b37 Merge pull request #87797 from plumelo/feature/nomachine-client-6.10.12
nomachine-client: 6.9.2 -> 6.10.12
2020-05-14 22:48:41 +02:00
Kim Lindberger 11399d1e76 Merge pull request #87406 from talyz/master
arcanist: Fix on darwin
2020-05-14 21:15:31 +02:00
Kim Lindberger 7451f11730 google-drive-ocamlfuse: 0.7.2 -> 0.7.21 (#86469)
ocamlPackages.ocamlfuse: 2.7.1_cvs5 -> 2.7.1_cvs6_e35e76b
2020-05-10 21:24:18 +02:00
Kim Lindberger e4efa8bc83 Merge pull request #86614 from talyz/php-buildpecl-pecldeps
php.buildPecl: Make it possible for PECLs to depend on other PECLs, fix apcu_bc and couchbase
2020-05-10 12:37:22 +02:00
talyz fa4c995d0e php.extensions.couchbase: Fix build and runtime loading
The couchbase extension depends on the igbinary PECL which needs to be
loaded and loaded prior to it. It also seems like the pcs extension
isn't actually needed - it at least builds and loads without it. Since
the pcs extension dependency was the reason couchbase didn't build on
PHP 7.4 it now does, so let's unmark it broken.
2020-05-09 23:38:45 +02:00
talyz 2f1f359692 php.extensions.pcs: Mark broken in 7.3, add tokenizer dependency
The pcs extension fails to load at runtime with PHP 7.3, so let's mark
it broken from 7.3 onwards. It also depends on the tokenizer internal
extension.
2020-05-09 23:38:39 +02:00
talyz 295fc2996d php.extensions.apcu_bc: Fix runtime loading
Fix an issue brought up in #86463, where the apcu_bc extension isn't
loaded correctly since it produces a .so with a different name than
the extension name. Also, the apcu extension has to be loaded and
loaded prior to loading this extension.
2020-05-09 23:38:32 +02:00
talyz 9f09253e52 php.buildPecl: Allow PECLs to depend on other PECLs
Some PECLs depend on other PECLs and, like internal PHP extension
dependencies, need to be loaded in the correct order. This makes this
possible by adding the argument "peclDeps" to buildPecl, which adds
the extension to buildInputs and is treated the same way as
internalDeps when the extension config is generated.
2020-05-09 23:38:21 +02:00
talyz 2f612756f0 arcanist: Fix on darwin
With recent work done on the PHP packaging, the PHP executable is by
default a wrapper script. Darwin doesn't like scripts in the shebang
of another script, so we have to wrap arcanist, feeding the script as
an argument to PHP instead. See #86881 and #23018.
2020-05-09 18:54:40 +02:00
talyz 1771d468c4 ocamlPackages.gapi-ocaml: 0.3.6 -> 0.3.19 2020-05-07 22:29:52 +02:00
Kim Lindberger 998ac52f0a Merge pull request #86420 from flokli/gitlab-12.8.10
gitlab: 12.8.9 -> 12.8.10
2020-05-01 13:12:02 +02:00
Kim Lindberger 80b26e6649 Merge pull request #86256 from bachp/skypeforlinux-8.59.0.77
skypeforlinux: 8.58.0.93 -> 8.59.0.77
2020-04-29 21:31:03 +02:00
talyz 2535cdfe91 php: Unify the usage of the php package in php-packages.nix
Instead of using two different php packages in php-packages.nix, one
wrapper and one unwrapped, simply use the wrapper and use its
"unwrapped" attribute when necessary. Also, get rid of the packages
and extensions attributes from the base package, since they're no
longer needed.
2020-04-29 13:59:29 +02:00
talyz 5cad1b4aff php: Get rid of the phpXXbase attributes, update docs
Since the introduction of php.unwrapped there's no real need for the
phpXXbase attributes, so let's remove them to lessen potential
confusion and clutter. Also update the docs to make it clear how to
get hold of an unwrapped PHP if needed.
2020-04-29 13:45:48 +02:00
talyz 3bfd4e864f php: Add passthru.tests 2020-04-29 13:45:07 +02:00
talyz ef990961bc php.buildEnv: Provide the unwrapped php package in php.unwrapped
This is useful if you need to access the dev output of the unwrapped
derivation.
2020-04-29 13:44:20 +02:00
talyz c3d5d92f4a php.buildEnv: Add phpIni attribute for easy access to the php.ini 2020-04-29 12:12:59 +02:00
Kim Lindberger 00431811fa Merge pull request #86173 from talyz/gitlab-enable-starttlsauto
nixos/gitlab: Fix services.gitlab.enableStartTLSAuto
2020-04-28 11:23:53 +02:00
talyz c0a838df38 nixos/gitlab: Fix services.gitlab.enableStartTLSAuto
'toString false' results in an empty string, which, in this context,
is a syntax error. Use boolToString instead.

Fixes #86160
2020-04-28 09:05:26 +02:00
talyz d61040716e php.buildEnv: Automatically include extension dependencies
Some extensions depend on other extensions. Previously, these had to
be added manually to the list of included extensions, or we got a
cryptic error message pointing to strings-with-deps.nix, which wasn't
very helpful. This makes sure all required extensions are included in
the set from which textClosureList chooses its snippets.
2020-04-26 16:43:29 +02:00
talyz 72636bc2f6 php: Get rid of all config.php parameters
Since all options controlled by the config.php parameters can now be
overridden directly, there's no reason to keep them around.
2020-04-26 16:43:23 +02:00
talyz 2ba7926959 php.buildEnv: Provide a list of currently enabled extensions
Rework withExtensions / buildEnv to handle currently enabled
extensions better and make them compatible with override. They now
accept a function with the named arguments enabled and all, where
enabled is a list of currently enabled extensions and all is the set
of all extensions. This gives us several nice properties:

 - You always get the right version of the list of currently enabled
   extensions

 - Invocations chain

 - It works well with overridden PHP packages - you always get the
   correct versions of extensions

As a contrived example of what's possible, you can add ImageMagick,
then override the version and disable fpm, then disable cgi, and
lastly remove the zip extension like this:

{ pkgs ? (import <nixpkgs>) {} }:
with pkgs;

let
  phpWithImagick = php74.withExtensions ({ all, enabled }: enabled ++ [ all.imagick ]);

  phpWithImagickWithoutFpm743 = phpWithImagick.override {
    version = "7.4.3";
    sha256 = "wVF7pJV4+y3MZMc6Ptx21PxQfEp6xjmYFYTMfTtMbRQ=";
    fpmSupport = false;
  };

  phpWithImagickWithoutFpmZip743 = phpWithImagickWithoutFpm743.withExtensions (
    { enabled, all }:
      lib.filter (e: e != all.zip) enabled);

  phpWithImagickWithoutFpmZipCgi743 = phpWithImagickWithoutFpmZip743.override {
    cgiSupport = false;
  };
in
  phpWithImagickWithoutFpmZipCgi743
2020-04-26 16:43:05 +02:00
talyz abedfadd73 php.buildEnv: Respect override
Make buildEnv take earlier overridden values into account by
forwarding all arguments (a merge of generic's arguments, all previous
arguments and the current arguments) to the next invocation of
buildEnv.
2020-04-24 18:48:29 +02:00
talyz dde5f5f899 php: Make all arguments to a PHP build overridable
Make all arguments to a PHP build overridable; i.e, both configuration
flags, such as valgrindSupport, and packages, such as valgrind:

php.override { valgrindSupport = false; valgrind = valgrind-light; }

This applies to packages built by generic and buildEnv/withExtensions;
i.e, it works with both phpXX and phpXXBase packages.

The following changes were also made to facilitate this:

 - generic and generic' are merged into one function

 - generic now takes all required arguments for a complete build and
   is meant to be called by callPackage

 - The main function called from all-packages.nix no longer takes all
   required arguments for a complete build - all arguments passed to it
   are however forwarded to the individual builds, thus default
   arguments can still be overridden from all-packages.nix
2020-04-24 18:41:53 +02:00
talyz a463261415 php.buildEnv: Make the exported php package overridable
This implements the override pattern for builds done with buildEnv, so
that we can, for example, write

php.override { fpmSupport = false; }

and get a PHP package with the default extensions enabled, but PHP
compiled without fpm support.
2020-04-24 13:05:37 +02:00
Kim Lindberger b3c2a06583 Merge pull request #85227 from etu/update-testssl
testssl: 3.0rc6 -> 3.0
2020-04-15 10:20:52 +02:00
Kim Lindberger 3dbfa915ab Merge pull request #85226 from etu/update-phpstan
php.packages.phpstan: 0.12.14 -> 0.12.18
2020-04-14 16:39:56 +02:00
Kim Lindberger 5d2cb158f3 Merge pull request #85224 from etu/update-php-codesniffer
php.packages.phpc(bf|s): 3.5.3 -> 3.5.4
2020-04-14 15:48:15 +02:00
talyz d85bf2f5b7 php.extensions.pdo_mysql: Set default socket location
Set the default socket location to match the one used by the MySQL
module, so PHP programs using pdo_mysql don't have to specify this
themselves.
2020-04-11 14:27:06 +02:00
talyz 472d5c187b php.buildEnv: Don't inherit dev from the original php
mkDerivation uses the dev output in buildInputs if it exits, hence the
php-with-extensions package was never built or put into the path of
packages dependent on it during build. With this fix, the php packages
built with buildEnv or withExtensions don't have any dev outputs;
packages which need the dev output can refer to the phpXXbase packages
instead.
2020-04-08 15:13:07 +02:00
talyz 5ace72cd6c nixos/nextcloud: Use php.enabledExtensions 2020-04-05 16:46:44 +02:00
talyz ca8b8a26e9 php: Add enabledExtensions attribute to PHP derivations
This provides a means to build a PHP package based on a list of
extensions from another.

For example, to generate a package with all default extensions
enabled, except opcache, but with ImageMagick:

php.withExtensions (e:
  (lib.filter (e: e != php.extensions.opcache) php.enabledExtensions)
  ++ [ e.imagick ])
2020-04-05 16:46:38 +02:00
talyz b5c59cebc6 php: Document withExtensions + general improvements 2020-04-05 16:46:05 +02:00
talyz b4d289a7ae php: Add missing hash extension to php < 7.4 2020-04-05 16:45:53 +02:00
talyz 1345e5b763 php: Add withExtensions as a simpler alternative to buildEnv 2020-04-05 16:45:47 +02:00
talyz 4ff523f691 php: Simplify php-packages import, rename exts -> extensions 2020-04-05 16:45:41 +02:00
talyz ed20aae86c nixos/nextcloud: Get nextcloud working 2020-04-05 16:44:42 +02:00
talyz fe4d173cb2 php.packages: Fix and clean up external extensions
Fix extensions that were broken by the extension refactoring and
remove pthreads and pinba, which had asserts which broke evaluation,
were in need of refactoring and of dubious value.
2020-04-05 16:44:37 +02:00
talyz 716fd0e2f5 php.buildEnv: Put the extraConfig snippet after extensions
Make sure all the extensions are loaded first, then read the custom
config where possible.
2020-04-05 16:44:31 +02:00
talyz 9ac0d9ad61 php.packages.buildPecl: Introduce built-in extension dependencies
Introduce the internalDeps attribute used by mkExtension, to refer to
internal php extensions built by mkExtension.
2020-04-05 16:44:13 +02:00
talyz 90dcab948c php.packages: Use derivations for internalDeps in mkExtension
Make mkExtension put headers in the dev output and use them, instead of
a different part of the current source tree, when referring to another
extension by using internalDeps.

This means external extensions can be built against the internal ones.
2020-04-05 16:44:01 +02:00
talyz b1106a1851 phpPackages: Move phpPackages to php.packages
This means php packages can now refer to other php packages by looking
them up in the php.packages attribute and gets rid of the internal
recursive set previously defined in php-packages.nix. This also means
that in applications where previously both the php package and the
corresponding version of the phpPackages package set had to be
specified, the php package will now suffice.

This also adds the phpWithExtensions parameter to the
php-packages.nix, which can be used by extensions that need a fully
featured PHP executable.
2020-04-05 16:43:50 +02:00
talyz 14bfb844d6 php: Make mkExtension pass on additional args to mkDerivation 2020-04-05 16:43:43 +02:00
talyz 8924a7de3d php: Make buildEnv recursive + take extension deps into account
A slight rewrite of buildEnv which:

1. Makes buildEnv recursively add itself to its output, so that it can
   be accessed from any php derivation.

2. Orders the extension text strings according to their internalDeps
   attribute - dependencies have to be put before dependants in the
   php.ini or they will fail to load due to missing symbols.
2020-04-03 10:11:15 +02:00
talyz 6c810c235d phpPackages.exts: Run tests by default
The tests for many of the extensions run just fine, for some a small
portion fail. This runs the tests by default and disables the tests
extensions with any failing tests.
2020-04-03 10:11:14 +02:00
talyz 282337799b php: Build an even slimmer base
This moves yet more extensions from the base build to
phpPackages.ext. Some of the extensions are a bit quirky and need
patching for this to work, most notably mysqlnd and opcache.

Two new parameters are introduced for mkExtension - internalDeps and
postPhpize. internalDeps is used to specify which other internal
extensions the current extension depends on, in order to provide them
at build time. postPhpize is for when patches and quirks need to be
applied after running phpize.

Patch notes:

- For opcache, older versions of PHP have a bug where header files are
  included in the wrong order.

- For mysqlnd, the config.h is never included, so we include it in the
  main header file, mysqlnd.h. Also, the configure script doesn't add
  the necessary library link flags, so we add them to the variable
  configure should have added them to.
2020-04-03 10:11:13 +02:00
talyz b4d68d88c6 synergy: 1.11.0 -> 1.11.1 2020-04-02 16:31:22 +00:00
Kim Lindberger 3a173c1d75 gitlab: 12.8.6 -> 12.8.7 (#82838)
https://about.gitlab.com/releases/2020/03/16/gitlab-12-8-7-released/
2020-03-24 18:45:39 +01:00
talyz bb7ad853fb nixos/haproxy: Revive the haproxy user and group
Running haproxy with "DynamicUser = true" doesn't really work, since
it prohibits specifying a TLS certificate bundle with limited
permissions. This revives the haproxy user and group, but makes them
dynamically allocated by NixOS, rather than statically allocated. It
also adds options to specify which user and group haproxy runs as.
2020-03-11 19:52:37 +01:00
talyz 74769b6799 gitaly: Copy gem files into bundler env instead of symlinking
This fixes issue #79374, where gitaly prints warning messages on the
client side when running push or fetch.
2020-03-03 21:19:01 +01:00
talyz affcf9ba1e bundlerEnv: Add option to copy gem files instead of symlinking
The way ruby loads gems and keeps track of their paths seems to not
always work very well when the gems are accessed through
symlinks. Ruby will then complain that the same files are loaded
multiple times; it relies on the file's full path to determine whether
the file is loaded or not.

This adds an option to simply copy all gem files into the environment
instead, which gets rid of this issue, but may instead result in major
file duplication.
2020-03-03 21:19:01 +01:00
talyz 17721d3b33 gitaly: Add myself to maintainers 2020-03-03 21:19:01 +01:00
talyz a3b2828de3 gitlab-shell: Change name from gitlab-shell-go to gitlab-shell
This is left over from when gitlab-shell had a ruby part and a go
part. The ruby part is now gone, so let's call the go part
gitlab-shell.
2020-03-03 21:19:01 +01:00
talyz f2bb5238aa gitlab-workhorse: 8.20.0 -> 8.21.0 2020-03-03 21:19:01 +01:00
talyz facef28665 gitaly: 1.83.0 -> 12.8.1
In order to build gitaly, this locally overrides the version of
libgit2, since gitaly is not compatible with the latest version.
2020-03-03 21:19:01 +01:00
talyz 7d8a2004cf gitlab: 12.7.6 -> 12.8.1
https://about.gitlab.com/releases/2020/02/22/gitlab-12-8-released/
https://about.gitlab.com/releases/2020/02/24/gitlab-12-8-1-released/
2020-03-03 21:19:01 +01:00
Kim Lindberger a2f3ec7a60 synergy: Build application bundle on Darwin + other fixes (#80354)
Includes the following fixes for Darwin:
- Build an application bundle
- Don't install the .desktop file and icons
- Get rid of unused cmake variables
- Don't list avahi as a dependency, since it's not used
2020-02-17 14:41:43 -05:00
Kim Lindberger 29c5035e0f synergy: 1.8.8 -> 1.11.0 (#80138)
This gets rid of a few patches that aren't needed any more, adds one
to make the tests work again and updates the MacOS patch. It also
introduces two builds - one with the Qt application and one without.

The patch to get the tests working will be submitted upstream and
hopefully not be needed for future releases.
2020-02-14 19:39:47 -05:00
talyz c4f58aba47 hplip: Fix plugin url and hash 2020-01-22 10:23:01 +01:00
talyz 62af7804ef nomachine-client: 6.8.1 -> 6.9.2 2020-01-21 10:29:39 +01:00
talyz 0825e382c0 gitlab: 12.6.0 -> 12.6.1 2019-12-28 14:00:04 +01:00
talyz ff28cfa6d3 gitlab: 12.5.5 -> 12.6.0 2019-12-23 00:39:33 +01:00
talyz a3c72e66a6 gitlab: update.py: Get go deps for gitlab-shell from the root dir
GitLab Shell now has the go.mod and go.sum files in the root of the
repo; the go subdirectory has been removed and all the code in it has
been moved up to the root.
2019-12-23 00:26:28 +01:00
talyz 445bc1494c gitaly: 1.72.1 -> a4b6c71d4b7c1588587345e2dfe0c6bd7cc63a83
For some reason this untagged commit is the one referred to in the
main repository; this might be a mistake, but we'll have to package it
for now to follow upstream.
2019-12-23 00:18:39 +01:00
talyz 2f614714ed gitlab-workhorse: 8.14.1 -> 8.18.0 2019-12-22 23:49:29 +01:00
talyz 6972aec884 gitlab-shell: 10.2.0 -> 10.3.0 2019-12-22 23:48:18 +01:00
talyz 7d602d3d36 gitlab: 12.5.4 -> 12.5.5 2019-12-17 22:18:10 +01:00
talyz ce2aa10765 gitlab: 12.4.3 -> 12.5.0 2019-11-26 17:32:01 +01:00
talyz 86223aade7 rl-2003: Fix typo
Fix a typo introduced in a06529b7ad which prevents the manual from building.
2019-11-26 17:04:59 +01:00
talyz 809768bb91 common-updater-scripts: Fix breakage
Fixes a bug introduced by 9b090ccbca
where the script fails to run if $attr.${versionKey} exists.
2019-11-26 14:18:33 +01:00