drush: removed, standalone installation are no more supported

This commit is contained in:
Pol Dellaiera 2024-02-20 12:58:50 +01:00
parent b453c845f6
commit 7e3f284f13
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA
3 changed files with 1 additions and 33 deletions

View File

@ -1,31 +0,0 @@
{ lib, stdenv, fetchurl, fetchFromGitHub, php, which, makeWrapper, bash, coreutils, ncurses }:
stdenv.mkDerivation rec {
pname = "drush";
version = "8.4.12";
src = fetchurl {
url = "https://github.com/drush-ops/drush/releases/download/${version}/drush.phar";
sha256 = "sha256-YtD9lD621LJJAM/ieL4KWvY4o4Uqo3+FWgjGYGdQQaw=";
};
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
install -D $src $out/libexec/drush/drush.phar
makeWrapper ${php}/bin/php $out/bin/drush \
--add-flags "$out/libexec/drush/drush.phar" \
--prefix PATH : "${lib.makeBinPath [ which php bash coreutils ncurses ]}"
'';
meta = with lib; {
description = "Command-line shell and Unix scripting interface for Drupal";
homepage = "https://github.com/drush-ops/drush";
license = licenses.gpl2;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.all;
};
}

View File

@ -234,6 +234,7 @@ mapAliases ({
dotnet-sdk_3 = dotnetCorePackages.sdk_3_1; # Added 2020-01-19
dotnet-sdk_5 = dotnetCorePackages.sdk_5_0; # Added 2020-09-11
drgeo = throw "'drgeo' has been removed as it is outdated and unmaintained"; # Added 2023-10-15
drush = throw "drush as a standalone package has been removed because it's no longer supported as a standalone tool";
dtv-scan-tables_linuxtv = dtv-scan-tables; # Added 2023-03-03
dtv-scan-tables_tvheadend = dtv-scan-tables; # Added 2023-03-03
du-dust = dust; # Added 2024-01-19

View File

@ -18946,8 +18946,6 @@ with pkgs;
drm_info = callPackage ../development/tools/drm_info { };
drush = callPackage ../development/tools/misc/drush { };
dura = callPackage ../development/tools/misc/dura {
inherit (darwin.apple_sdk.frameworks) Security;
};