mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-24 15:01:56 +03:00
28 lines
485 B
Nix
28 lines
485 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
l = lib // builtins;
|
|
in {
|
|
"rector/rector" = {
|
|
skip-composer-install = {
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
};
|
|
};
|
|
"components/jquery" = {
|
|
fix-authors = {
|
|
postPatch = ''
|
|
jq \
|
|
".authors |= map(with_entries(
|
|
if .key == \"url\" \
|
|
then .key = \"homepage\" \
|
|
else . end \
|
|
))" \
|
|
composer.json | sponge composer.json
|
|
'';
|
|
};
|
|
};
|
|
}
|