diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-10-09 18:42:08 +0200 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-10-09 18:45:30 +0200 |
commit | 0c9abd9fa7c5671763448297199a2943a2446c86 (patch) | |
tree | 6acc8dd74ae4cef72767d74a8309f956c0ccfe08 /pkgs/development/php-packages | |
parent | 7903ffce5bd8762e688ae059b26335d807bc950b (diff) |
phpExtensions.meminfo: init at unstable-2022-03-25
Diffstat (limited to 'pkgs/development/php-packages')
-rw-r--r-- | pkgs/development/php-packages/meminfo/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/php-packages/meminfo/default.nix b/pkgs/development/php-packages/meminfo/default.nix new file mode 100644 index 0000000000000..d170243be20c1 --- /dev/null +++ b/pkgs/development/php-packages/meminfo/default.nix @@ -0,0 +1,22 @@ +{ buildPecl, lib, fetchFromGitHub }: + +buildPecl rec { + version = "unstable-2022-03-25"; + pname = "meminfo"; + + src = fetchFromGitHub { + owner = "BitOne"; + repo = "php-meminfo"; + rev = "0ab7f5aea96c4dafce27c7e215b4907db2a2f493"; + hash = "sha256-MO+B+ZNg6OAnxkOtdA15o+G41XbsG1N1WBz7thMCjck="; + }; + + sourceRoot = "${src.name}/extension"; + + meta = { + description = "PHP extension to get insight about memory usage"; + homepage = "https://github.com/BitOne/php-meminfo"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ drupol ]; + }; +} |