File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
development/php-packages/uuid Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ buildPecl ,
3+ lib ,
4+ libuuid ,
5+ fetchFromGitHub ,
6+ } :
7+
8+ let
9+ version = "v1.2.1" ;
10+ in
11+ buildPecl {
12+ inherit version ;
13+ pname = "uuid" ;
14+
15+ src = fetchFromGitHub {
16+ owner = "php" ;
17+ repo = "pecl-networking-uuid" ;
18+ rev = "refs/tags/${ version } " ;
19+ hash = "sha256-C4SoSKkCTQOLKM1h47vbBgiHTG+ChocDB9tzhWfKUsw=" ;
20+ } ;
21+
22+ buildInputs = [ libuuid ] ;
23+ makeFlags = [ "phpincludedir=$(dev)/include" ] ;
24+ doCheck = true ;
25+
26+ env . PHP_UUID_DIR = libuuid ;
27+
28+ meta = {
29+ changelog = "https://github.com/php/pecl-networking-uuid/releases/tag/${ version } " ;
30+ description = "A wrapper around Universally Unique IDentifier library (libuuid)." ;
31+ license = lib . licenses . php301 ;
32+ homepage = "https://github.com/php/pecl-networking-uuid" ;
33+ maintainers = lib . teams . php . members ;
34+ platforms = lib . platforms . linux ;
35+ } ;
36+ }
Original file line number Diff line number Diff line change 359359
360360 tideways = callPackage ../development/php-packages/tideways { } ;
361361
362+ uuid = callPackage ../development/php-packages/uuid { } ;
363+
362364 uv = callPackage ../development/php-packages/uv { } ;
363365
364366 vld = callPackage ../development/php-packages/vld { } ;
You can’t perform that action at this time.
0 commit comments