nixpkgs/pkgs/by-name/pe/pest/package.nix
2024-07-02 01:36:56 +02:00

27 lines
685 B
Nix

{ lib, fetchFromGitHub, php }:
php.buildComposerProject (finalAttrs: {
pname = "pest";
version = "2.34.7";
src = fetchFromGitHub {
owner = "pestphp";
repo = "pest";
rev = "v${finalAttrs.version}";
hash = "sha256-rRXRtcjQUCx8R5sGRBUwlKtog6jQ1WaOu225npM6Ct8=";
};
composerLock = ./composer.lock;
vendorHash = "sha256-+FKNGjwq+KFPw8agdwsgnwb2ENgFAWK5EngmS4hMcSA=";
meta = {
changelog = "https://github.com/pestphp/pest/releases/tag/v${finalAttrs.version}";
description = "PHP testing framework";
homepage = "https://pestphp.com";
license = lib.licenses.mit;
mainProgram = "pest";
maintainers = with lib.maintainers; [ ];
};
})