1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
Commit graph

57 commits

Author SHA1 Message Date
Дамјан Георгиевски fffd75e23c uwsgi: non-weird postPatch :) 2021-12-03 01:46:40 +01:00
Дамјан Георгиевски 0ebda3cfb8 uwsgi: fix "Missing arginfo for uwsgi_version()" errors at runtime
https://github.com/unbit/uwsgi/issues/2356
<b>Warning</b>:  Missing arginfo for uwsgi_version() in <b>Unknown</b> on line <b>0</b><br />
2021-12-01 15:50:12 +01:00
Дамјан Георгиевски f403517f58 uwsgi: the php 8.x library is just libphp.so, not libphp8
patch taken from the archlinux PKGBUILD
dc8835dbc3/trunk/PKGBUILD (L106)
2021-12-01 15:50:12 +01:00
Дамјан Георгиевски e8ee414455 uwsgi bump version to 2.0.20, compatible with php8
uwsgi 2.0.19.1 fails to compile with php8
https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.20.html
2021-12-01 15:50:12 +01:00
Guillaume Girol 05e46e3e1f
Merge pull request #113242 from lopsided98/uwsgi-cross
uwsgi: fix cross-compilation
2021-07-14 14:22:22 +00:00
Sandro Jäckel f0c2cd9f99
uwsgi: remove unused input 2021-02-17 13:31:28 +01:00
Ben Wolsieffer 1e54261f3d uwsgi: fix cross-compilation 2021-02-15 18:36:07 -05:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
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.
2021-01-19 01:16:25 -08: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
rnhmjoj 01c7c2815c
uwsgi: build with capabilities support 2021-01-07 23:08:12 +01:00
Дамјан Георгиевски 41af371de2 uwsgi: add passthru.tests.uwsgi to derivation 2020-12-22 14:12:19 +01:00
Дамјан Георгиевски 87bed6c86a uwsgi: the php plugin needs to link with session.so
On NixOS the session.so php extension is a separate package (and not builtin
in libphp.so). But since the uwsgi php plugin uses the session
mechanisms, we need to link the plugin to that library too.

With this change uwsgipluginpy is hacked to take an additional UWSGICONFIG_PHP_LDFLAGS
environment variable and add it to its LDFLAGS, and then in the nix
expression the UWSGICONFIG_PHP_LDFLAGS is set to point to php.extensions.session
2020-12-22 14:12:15 +01:00
Дамјан Георгиевски 6dd858dc30 uwsgi: set UWSGICONFIG_PHPPATH to the php.dev store
uwsgi needs to run php-config to get the include path. set the
UWSGICONFIG_PHPPATH to the php-config in the php.dev store.

Patch common.h to directly include php_session.h (since it's a separate package on
nixos).

NIX_CFLAGS_LINK was removed since it doesn't seem to be used at all

https://github.com/unbit/uwsgi/blob/master/plugins/php/common.h
2020-12-22 14:09:20 +01:00
Vladimír Čunát 583470209f
Revert "Merge #97536: uwsgi: fix compiling and linking"
This reverts commit df4d0b03ef, reversing
changes made to b333263534.

It didn't even evaluate!
2020-12-21 22:48:19 +01:00
Дамјан Георгиевски e189177c26 uwsgi: add passthru.tests.uwsgi to derivation 2020-12-21 17:52:04 +01:00
Дамјан Георгиевски 22e8804308 uwsgi: the php plugin needs to link with session.so
On NixOS the session.so php extension is a separate package (and not builtin
in libphp.so). But since the uwsgi php plugin uses the session
mechanisms, we need to link the plugin to that library too.

With this change uwsgipluginpy is hacked to take an additional UWSGICONFIG_PHP_LDFLAGS
environment variable and add it to its LDFLAGS, and then in the nix
expression the UWSGICONFIG_PHP_LDFLAGS is set to point to php.extensions.session
2020-12-21 16:50:54 +01:00
Дамјан Георгиевски fd018e990b uwsgi: set UWSGICONFIG_PHPPATH to the php.dev store
uwsgi needs to run php-config to get the include path. set the
UWSGICONFIG_PHPPATH to the php-config in the php.dev store.

Patch common.h to directly include php_session.h (since it's a separate package on
nixos).

NIX_CFLAGS_LINK was removed since it doesn't seem to be used at all

https://github.com/unbit/uwsgi/blob/master/plugins/php/common.h
2020-12-21 16:50:53 +01:00
Symphorien Gibol 826b7c18b5 uwsgi: 2.0.18 -> 2.0.19.1
release notes:
https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.19.html
https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.19.1.html
2020-07-06 18:35:34 +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
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Elis Hirwing be7bf5a18d
php-embed: Drop the declaration of the php-embed attributes 2020-04-03 10:11:07 +02:00
Robin Gloster 5f2b92e3ec
treewide: NIX_*_COMPILE -> string 2019-12-31 00:13:29 +01: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
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Robin Gloster 4e60b0efae
treewide: update globin's maintained drvs 2019-08-20 19:36:05 +02:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Daiderd Jordan a5a3d6d60b
uwsgi: enable on darwin 2019-05-27 21:41:38 +02:00
R. RyanTM 37d1f59b36 uwsgi: 2.0.17.1 -> 2.0.18
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/uwsgi/versions
2019-02-15 01:58:21 -08:00
Jan Malakhovski f56be70f3f uwsgi: move defaults to package file 2019-02-03 15:30:42 +00:00
Frederik Rietdijk 63bcd07888 python: add isPy2 attribute to passthru
Some packages relied on it. For consistency, also introduce isPy3 (which
is the same as isPy3k).
2019-01-04 12:31:42 +01:00
Joachim Fasting e7548891e3
uwsgi: fix build when withSystemd = false
Passing -lsystemd unconditionally breaks the build when withSystemd = false.
2018-12-07 13:25:06 +01:00
Renaud 0028f5de89
uwsgi: build with PCRE support (#50896)
(#50896)
2018-11-21 23:44:59 +01:00
R. RyanTM 37962d0256 uwsgi: 2.0.17 -> 2.0.17.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/uwsgi/versions.
2018-07-10 21:21:55 -07:00
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Ryan Mulligan 14464b1dc5 uwsgi: 2.0.16 -> 2.0.17
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/22q44dlwa34xal0mggf9vqy1clsvad65-uwsgi-2.0.17/bin/uwsgi -h` got 0 exit code
- ran `/nix/store/22q44dlwa34xal0mggf9vqy1clsvad65-uwsgi-2.0.17/bin/uwsgi --help` got 0 exit code
- ran `/nix/store/22q44dlwa34xal0mggf9vqy1clsvad65-uwsgi-2.0.17/bin/uwsgi --version` and found version 2.0.17
- ran `/nix/store/22q44dlwa34xal0mggf9vqy1clsvad65-uwsgi-2.0.17/bin/uwsgi -h` and found version 2.0.17
- ran `/nix/store/22q44dlwa34xal0mggf9vqy1clsvad65-uwsgi-2.0.17/bin/uwsgi --help` and found version 2.0.17
- found 2.0.17 with grep in /nix/store/22q44dlwa34xal0mggf9vqy1clsvad65-uwsgi-2.0.17
- found 2.0.17 in filename of file in /nix/store/22q44dlwa34xal0mggf9vqy1clsvad65-uwsgi-2.0.17
2018-03-10 04:58:44 +03:00
Nikolay Amiantov 112aa98d3b uwsgi: 2.0.15 -> 2.0.16 2018-02-25 22:24:09 +03:00
Robin Gloster 42af265eee
uwsgi: fix php plugin build
fixes #33400
closes #33420
2018-01-04 15:23:04 +01:00
Andreas Rammhold 92158e871e
uwsgi: do not touch unix.h anymore 2017-12-10 12:12:47 +01:00
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* 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
2017-08-01 22:03:30 +02:00
Pascal Bach e37f970d00 uwsgi: fix php plugin build 2017-06-02 19:56:22 +03:00
Robin Gloster 457600044c
uwsgi: 2.0.14 -> 2.0.15 2017-05-23 13:06:51 +02:00
schneefux 3f3b6e6b6c uwsgi: enable php plugin 2017-01-19 22:47:10 +01:00
Nikolay Amiantov e98b91f0e4 uwsgi: 2.0.13.1 -> 2.0.14 2016-11-24 01:17:57 +03:00
schneefux ad9db0a1e8
uwsgi: enable cgi plugin 2016-09-24 16:48:10 +02:00
Nikolay Amiantov c60deb0266 quote homepages for better clickability
Done while I was traversing packages which I maintain to save extra clicks on
urxvt (it captures semicolon as a part of URL).
2016-08-14 22:37:10 +03:00
Nikolay Amiantov 389981f34b uwsgi: add rack support 2016-06-22 04:57:57 +03:00
Nikolay Amiantov 862c160e29 uwsgi: 2.0.12 -> 2.0.13.1 2016-06-11 02:43:44 +03:00
Nikolay Amiantov 01a3b6c059 uwsgi: 2.0.11.2 -> 2.0.12 2016-03-04 14:46:45 +03:00