depot/third_party/nixpkgs/pkgs/development/php-packages/composer-local-repo-plugin/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

33 lines
914 B
Nix

{
lib,
fetchFromGitHub,
php,
}:
let
version = "1.1.0";
in
php.buildComposerWithPlugin {
pname = "nix-community/composer-local-repo-plugin";
inherit version;
src = fetchFromGitHub {
owner = "nix-community";
repo = "composer-local-repo-plugin";
rev = version;
hash = "sha256-edbn07r/Uc1g0qOuVBZBs6N1bMN5kIfA1b4FCufdw5M=";
};
composerLock = ./composer.lock;
vendorHash = "sha256-SL3HiYTVaUwcEfnRO932MWgOP1VRkxTl3lxLbW0qiTY=";
meta = {
changelog = "https://github.com/nix-community/composer-local-repo-plugin/releases/tag/${version}";
description = "Composer plugin that facilitates the creation of a local composer type repository";
homepage = "https://github.com/nix-community/composer-local-repo-plugin";
license = lib.licenses.mit;
mainProgram = "composer";
maintainers = with lib.maintainers; [ drupol ];
platforms = lib.platforms.all;
};
}