Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 php,
4 fetchFromGitHub,
5}:
6
7php.buildComposerProject2 (finalAttrs: {
8 pname = "deployer";
9 version = "7.5.12";
10
11 src = fetchFromGitHub {
12 owner = "deployphp";
13 repo = "deployer";
14 rev = "7b108897baa94b8ac438c821ec1fb815d95eba77";
15 hash = "sha256-wtkixHexsJNKsLnnlHssh0IzxwWYMPKDcaf/D0zUNKk=";
16 };
17
18 vendorHash = "sha256-0uBI30n31W0eDVA9/W366O0Qo2jWZBqEL+YbJx4J7P0=";
19
20 meta = {
21 changelog = "https://github.com/deployphp/deployer/releases/tag/v${finalAttrs.version}";
22 description = "PHP deployment tool with support for popular frameworks out of the box";
23 homepage = "https://deployer.org/";
24 license = lib.licenses.mit;
25 mainProgram = "dep";
26 teams = [ lib.teams.php ];
27 };
28})