mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
php.extensions.uuid: init at v1.2.1 (#360352)
This commit is contained in:
commit
9763b802ce
36
pkgs/development/php-packages/uuid/default.nix
Normal file
36
pkgs/development/php-packages/uuid/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
buildPecl,
|
||||
lib,
|
||||
libuuid,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "v1.2.1";
|
||||
in
|
||||
buildPecl {
|
||||
inherit version;
|
||||
pname = "uuid";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "php";
|
||||
repo = "pecl-networking-uuid";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-C4SoSKkCTQOLKM1h47vbBgiHTG+ChocDB9tzhWfKUsw=";
|
||||
};
|
||||
|
||||
buildInputs = [ libuuid ];
|
||||
makeFlags = [ "phpincludedir=$(dev)/include" ];
|
||||
doCheck = true;
|
||||
|
||||
env.PHP_UUID_DIR = libuuid;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/php/pecl-networking-uuid/releases/tag/${version}";
|
||||
description = "A wrapper around Universally Unique IDentifier library (libuuid).";
|
||||
license = lib.licenses.php301;
|
||||
homepage = "https://github.com/php/pecl-networking-uuid";
|
||||
maintainers = lib.teams.php.members;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -359,6 +359,8 @@ in {
|
||||
|
||||
tideways = callPackage ../development/php-packages/tideways { };
|
||||
|
||||
uuid = callPackage ../development/php-packages/uuid { };
|
||||
|
||||
uv = callPackage ../development/php-packages/uv { };
|
||||
|
||||
vld = callPackage ../development/php-packages/vld { };
|
||||
|
Loading…
Reference in New Issue
Block a user