diff options
Diffstat (limited to 'pkgs/by-name/ro/roave-backward-compatibility-check/package.nix')
-rw-r--r-- | pkgs/by-name/ro/roave-backward-compatibility-check/package.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/by-name/ro/roave-backward-compatibility-check/package.nix b/pkgs/by-name/ro/roave-backward-compatibility-check/package.nix new file mode 100644 index 0000000000000..df06fe6a803ee --- /dev/null +++ b/pkgs/by-name/ro/roave-backward-compatibility-check/package.nix @@ -0,0 +1,37 @@ +{ + lib, + fetchFromGitHub, + php, + testers, + roave-backward-compatibility-check, +}: + +php.buildComposerProject (finalAttrs: { + pname = "roave-backward-compatibility-check"; + version = "8.8.0"; + + src = fetchFromGitHub { + owner = "Roave"; + repo = "BackwardCompatibilityCheck"; + rev = finalAttrs.version; + hash = "sha256-/9nJqZcuBLzgzDyoX4NHW9And7L/F+Bsm/gLzQS7QzE="; + }; + + vendorHash = "sha256-I8JZ4CBrrQmZ38QF9SPZtkPirCAxqSCeTUpMg59Mz7U="; + + passthru = { + tests.version = testers.testVersion { + package = roave-backward-compatibility-check; + version = finalAttrs.version; + }; + }; + + meta = { + changelog = "https://github.com/Roave/BackwardCompatibilityCheck/releases/tag/${finalAttrs.version}"; + description = "A tool that can be used to verify BC breaks between two versions of a PHP library"; + homepage = "https://github.com/Roave/BackwardCompatibilityCheck"; + license = lib.licenses.mit; + mainProgram = "roave-backward-compatibility-check"; + maintainers = lib.teams.php.members; + }; +}) |