1{ 2 lib, 3 fetchFromGitHub, 4 php, 5}: 6 7let 8 version = "1.1.0"; 9in 10php.buildComposerWithPlugin { 11 pname = "nix-community/composer-local-repo-plugin"; 12 inherit version; 13 14 src = fetchFromGitHub { 15 owner = "nix-community"; 16 repo = "composer-local-repo-plugin"; 17 rev = version; 18 hash = "sha256-edbn07r/Uc1g0qOuVBZBs6N1bMN5kIfA1b4FCufdw5M="; 19 }; 20 21 composerLock = ./composer.lock; 22 vendorHash = "sha256-SL3HiYTVaUwcEfnRO932MWgOP1VRkxTl3lxLbW0qiTY="; 23 24 meta = { 25 changelog = "https://github.com/nix-community/composer-local-repo-plugin/releases/tag/${version}"; 26 description = "Composer plugin that facilitates the creation of a local composer type repository"; 27 homepage = "https://github.com/nix-community/composer-local-repo-plugin"; 28 license = lib.licenses.mit; 29 mainProgram = "composer"; 30 maintainers = with lib.maintainers; [ ]; 31 platforms = lib.platforms.all; 32 }; 33}