This repository was archived by the owner on Mar 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +86
-40
lines changed Expand file tree Collapse file tree 6 files changed +86
-40
lines changed Original file line number Diff line number Diff line change 18
18
url = "github:php/php-src/PHP-8.3" ;
19
19
flake = false ;
20
20
} ;
21
+ php-src-84 = {
22
+ url = "github:php/php-src/PHP-8.4" ;
23
+ flake = false ;
24
+ } ;
21
25
} ;
22
26
23
27
outputs =
Original file line number Diff line number Diff line change 82
82
83
83
dom = prevPO . extensions . dom . overrideAttrs ( attrs : {
84
84
NIX_CFLAGS_COMPILE = attrs . NIX_CFLAGS_COMPILE or "" + cflags ;
85
- patches = ( patches . dom or [ ] ) ++ attrs . patches ;
85
+ patches = ( patches . dom or [ ] ) ++ ( attrs . patches or [ ] ) ;
86
86
} ) ;
87
87
88
88
opcache = prevPO . extensions . opcache . overrideAttrs ( attrs : {
120
120
# the SOAP extension requires the `session` extension.
121
121
soap = prevPO . extensions . soap . overrideAttrs ( attrs : {
122
122
internalDeps = attrs . internalDeps or [ ] ++ [ prevPO . extensions . session ] ;
123
+ # Remove soap patch as it has been upstreamed
124
+ # See https://github.com/NixOS/nixpkgs/pull/358196 (fix soap test)
125
+ patches = if ( lib . versionAtLeast prevPO . php . version "8.3" ) then [ ] else ( attrs . patches or [ ] ) ;
123
126
} ) ;
124
127
125
128
sockets = prevPO . extensions . sockets . overrideAttrs ( attrs : {
@@ -144,12 +147,12 @@ let
144
147
145
148
tokenizer = prevPO . extensions . tokenizer . overrideAttrs ( attrs : {
146
149
NIX_CFLAGS_COMPILE = attrs . NIX_CFLAGS_COMPILE or "" + cflags ;
147
- patches = [ ] ++ lib . optionals ( lib . versionAtLeast prevPO . php . version "8.1" ) attrs . patches ;
150
+ patches = [ ] ++ lib . optionals ( lib . versionAtLeast prevPO . php . version "8.1" ) ( attrs . patches or [ ] ) ;
148
151
} ) ;
149
152
150
153
sqlite3 = prevPO . extensions . sqlite3 . overrideAttrs ( attrs : {
151
154
NIX_CFLAGS_COMPILE = attrs . NIX_CFLAGS_COMPILE or "" + cflags ;
152
- patches = ( patches . sqlite3 or [ ] ) ++ attrs . patches ;
155
+ patches = ( patches . sqlite3 or [ ] ) ++ ( attrs . patches or [ ] ) ;
153
156
} ) ;
154
157
} ;
155
158
} ;
Original file line number Diff line number Diff line change 34
34
35
35
versions = [
36
36
{
37
- version = "8.1.28" ;
38
- hash = "sha256-i+RQCW4BU8R9dThOfdWVzIl/HVPOAGBwjOlYm8wxQe4=" ;
39
- patches = {
40
- php = [ patches . libxmlpatch ] ;
41
- } ;
42
- cflags = " -Wno-compare-distinct-pointer-types -Wno-implicit-const-int-float-conversion -Wno-deprecated-declarations -Wno-incompatible-function-pointer-types -Wno-incompatible-pointer-types-discards-qualifiers" ;
37
+ version = "8.1.31" ;
38
+ hash = "sha256-CzmCizRRUcrxt5XZ9LkjyYhyMXdsMwdt/J2QpEOQ0Nw=" ;
43
39
extensions = extensions . php81-to-php8300 ;
44
40
}
45
41
{
46
- version = "8.2.19 " ;
47
- hash = "sha256-PBj3zlG3x7JreX4flwedOGswNH6wToF/XmyOmydeKmo =" ;
42
+ version = "8.2.27 " ;
43
+ hash = "sha256-blfbr3aafz3rTw9IuMU15nHMChgCLtf2/yO1DpQdS2A =" ;
48
44
extensions = extensions . php81-to-php8300 ;
49
45
}
50
46
{
51
- version = "8.3.7 " ;
52
- hash = "sha256-AcIM3hxaVpZlGHXtIvUHhJZ5+6dA+MQhYWt9Q9f3l9o =" ;
47
+ version = "8.3.15 " ;
48
+ hash = "sha256-sWdaT/cwtYEbjmp2h0iMQug14Vapl3aqPm8Ber2jvpg =" ;
53
49
extensions = extensions . php81-to-php8300 ;
54
50
}
51
+ {
52
+ version = "8.4.2" ;
53
+ hash = "sha256-70/pkhuIXOOwR3kqtgJg6vZX4igSvlEdGdDkXt+YR4M=" ;
54
+ extensions = extensions . php-from-8400 ;
55
+ }
55
56
] ;
56
57
in
57
58
lib . mapAttrs ( k : v : ( ( makePhpPackage v ) . withExtensions ( v . extensions ) ) ) ( makePackageSet versions )
Original file line number Diff line number Diff line change 167
167
cflags = " -Wno-compare-distinct-pointer-types -Wno-implicit-const-int-float-conversion -Wno-deprecated-declarations -Wno-incompatible-function-pointer-types -Wno-incompatible-pointer-types-discards-qualifiers" ;
168
168
extensions = extensions . php81-to-php8300 ;
169
169
}
170
+ {
171
+ version = "8.1.28" ;
172
+ hash = "sha256-i+RQCW4BU8R9dThOfdWVzIl/HVPOAGBwjOlYm8wxQe4=" ;
173
+ patches = {
174
+ php = [ patches . libxmlpatch patches . ext_dom_tests ] ;
175
+ } ;
176
+ cflags = " -Wno-compare-distinct-pointer-types -Wno-implicit-const-int-float-conversion -Wno-deprecated-declarations -Wno-incompatible-function-pointer-types -Wno-incompatible-pointer-types-discards-qualifiers" ;
177
+ extensions = extensions . php81-to-php8300 ;
178
+ }
170
179
171
180
{
172
181
version = "8.2.5" ;
315
324
hash = "sha256-GRMWwgMmfZYWC0fSL5VdTcEXk96KXzJ+DCp2J1polOo=" ;
316
325
extensions = extensions . php81-to-php8300 ;
317
326
}
327
+ {
328
+ version = "8.2.19" ;
329
+ hash = "sha256-PBj3zlG3x7JreX4flwedOGswNH6wToF/XmyOmydeKmo=" ;
330
+ extensions = extensions . php81-to-php8300 ;
331
+ }
318
332
319
333
{
320
334
version = "8.3.0" ;
353
367
hash = "sha256-PFyvGODAokOq7JE6OeywkgQxla3eTD/ELpRdpbkndpU=" ;
354
368
extensions = extensions . php81-to-php8300 ;
355
369
}
370
+ {
371
+ version = "8.3.7" ;
372
+ hash = "sha256-AcIM3hxaVpZlGHXtIvUHhJZ5+6dA+MQhYWt9Q9f3l9o=" ;
373
+ extensions = extensions . php81-to-php8300 ;
374
+ }
356
375
] ;
357
376
in
358
377
lib . mapAttrs ( k : v : ( ( makePhpPackage v ) . withExtensions ( v . extensions ) ) ) ( makePackageSet versions )
Original file line number Diff line number Diff line change 14
14
php-8-1-snapshot = {
15
15
version = "8.1.999-${ inputs . php-src-81 . shortRev } " ;
16
16
src = inputs . php-src-81 ;
17
- patches = {
18
- php = [ patches . libxmlpatch ] ;
19
- } ;
20
- cflags = " -Wno-compare-distinct-pointer-types -Wno-implicit-const-int-float-conversion -Wno-deprecated-declarations -Wno-incompatible-function-pointer-types -Wno-incompatible-pointer-types-discards-qualifiers" ;
21
17
extensions = extensions . php81-to-php8300 ;
22
18
} ;
23
19
php-8-2-snapshot = {
30
26
src = inputs . php-src-83 ;
31
27
extensions = extensions . php81-to-php8300 ;
32
28
} ;
29
+ php-8-4-snapshot = {
30
+ version = "8.4.999-${ inputs . php-src-84 . shortRev } " ;
31
+ src = inputs . php-src-84 ;
32
+ extensions = extensions . php-from-8400 ;
33
+ } ;
33
34
php-master-snapshot = {
34
- version = "8.4 .999-${ inputs . php-src-master . shortRev } " ;
35
+ version = "8.5 .999-${ inputs . php-src-master . shortRev } " ;
35
36
src = inputs . php-src-master ;
36
37
extensions = extensions . php-from-8400 ;
37
38
} ;
You can’t perform that action at this time.
0 commit comments