blob: 76ae7c4c59703d6d0983317e00fd31bdd1ca8b9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
buildPecl,
lib,
libuuid,
fetchFromGitHub,
}:
let
version = "1.3.0";
in
buildPecl {
inherit version;
pname = "uuid";
src = fetchFromGitHub {
owner = "php";
repo = "pecl-networking-uuid";
tag = "v${version}";
hash = "sha256-00zJ//O1xqKTedRYThzeXOuL25wKLMZXjJWm/eXLkC4=";
};
buildInputs = [ libuuid ];
makeFlags = [ "phpincludedir=$(dev)/include" ];
doCheck = true;
env.PHP_UUID_DIR = libuuid;
meta = {
changelog = "https://github.com/php/pecl-networking-uuid/releases/tag/v${version}";
description = "Wrapper around Universally Unique IDentifier library (libuuid)";
license = lib.licenses.php301;
homepage = "https://github.com/php/pecl-networking-uuid";
teams = [ lib.teams.php ];
platforms = lib.platforms.linux;
};
}
|