php.packages.composer-local-repo-plugin: init at 1.1.0

Changed files
+107
pkgs
development
php-packages
composer-local-repo-plugin
top-level
+72
pkgs/development/php-packages/composer-local-repo-plugin/composer.lock
···
···
+
{
+
"_readme": [
+
"This file locks the dependencies of your project to a known state",
+
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
+
"This file is @generated automatically"
+
],
+
"content-hash": "04664aa86ba468bc6c83825839823dd7",
+
"packages": [
+
{
+
"name": "nix-community/composer-local-repo-plugin",
+
"version": "1.1.0",
+
"dist": {
+
"type": "path",
+
"url": "./src",
+
"reference": "56bd0f1fb990aa295ca43fc23141b7147a3b5490"
+
},
+
"require": {
+
"composer-plugin-api": "^2",
+
"php": ">= 7.2"
+
},
+
"require-dev": {
+
"composer/composer": "^2.6 || ^2.7",
+
"phpunit/phpunit": "^8"
+
},
+
"type": "composer-plugin",
+
"extra": {
+
"class": "NixCommunity\\ComposerLocalRepoPlugin\\Plugin"
+
},
+
"autoload": {
+
"psr-4": {
+
"NixCommunity\\ComposerLocalRepoPlugin\\": "src"
+
}
+
},
+
"autoload-dev": {
+
"psr-4": {
+
"test\\NixCommunity\\ComposerLocalRepoPlugin\\": "test"
+
}
+
},
+
"scripts": {
+
"changelog-unreleased": [
+
"auto-changelog -c .auto-changelog -u"
+
],
+
"changelog-version": [
+
"auto-changelog -c .auto-changelog -v"
+
]
+
},
+
"license": [
+
"MIT"
+
],
+
"description": "A plugin for Composer which provides a command to create local Composer repository for your projects.",
+
"homepage": "https://github.com/nix-community/composer-local-repo-plugin",
+
"funding": [
+
{
+
"type": "github",
+
"url": "https://github.com/drupol"
+
}
+
],
+
"transport-options": {
+
"relative": true
+
}
+
}
+
],
+
"packages-dev": [],
+
"aliases": [],
+
"minimum-stability": "stable",
+
"stability-flags": [],
+
"prefer-stable": false,
+
"prefer-lowest": false,
+
"platform": [],
+
"platform-dev": [],
+
"plugin-api-version": "2.6.0"
+
}
+33
pkgs/development/php-packages/composer-local-repo-plugin/default.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;
+
};
+
}
+2
pkgs/top-level/php-packages.nix
···
composer = callPackage ../development/php-packages/composer { };
deployer = callPackage ../development/php-packages/deployer { };
grumphp = callPackage ../development/php-packages/grumphp { };
···
composer = callPackage ../development/php-packages/composer { };
+
composer-local-repo-plugin = callPackage ../development/php-packages/composer-local-repo-plugin { };
+
deployer = callPackage ../development/php-packages/deployer { };
grumphp = callPackage ../development/php-packages/grumphp { };