depot/third_party/nixpkgs/pkgs/by-name/pe/pest/package.nix

27 lines
691 B
Nix
Raw Normal View History

{ 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; [ patka ];
};
})