exa: remove as unmaintained upstream

This commit is contained in:
oxalica 2023-09-07 02:43:35 +08:00
parent 3c15feef77
commit 8b1f2609ea
No known key found for this signature in database
GPG Key ID: D425CB23CADE82D9
3 changed files with 1 additions and 67 deletions

View File

@ -1,63 +0,0 @@
{ lib
, gitSupport ? true
, stdenv
, fetchFromGitHub
, rustPlatform
, cmake
, pandoc
, pkg-config
, zlib
, Security
, libiconv
, installShellFiles
}:
rustPlatform.buildRustPackage {
pname = "exa";
version = "unstable-2023-03-01";
src = fetchFromGitHub {
owner = "ogham";
repo = "exa";
rev = "c697d066702ab81ce0684fedb4c638e0fc0473e8";
hash = "sha256-sSEnZLL0n7Aw72fPNJmyRxSLXCMC5uWwfTy2fpsuo6c=";
};
cargoHash = "sha256-/sxiQMWix4GR12IzuvXbx56mZhbcFpd+NJ49S2N+jzw=";
nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ];
buildInputs = [ zlib ]
++ lib.optionals stdenv.isDarwin [ libiconv Security ];
buildNoDefaultFeatures = true;
buildFeatures = lib.optional gitSupport "git";
outputs = [ "out" "man" ];
postInstall = ''
pandoc --standalone -f markdown -t man man/exa.1.md > man/exa.1
pandoc --standalone -f markdown -t man man/exa_colors.5.md > man/exa_colors.5
installManPage man/exa.1 man/exa_colors.5
installShellCompletion \
--bash completions/bash/exa \
--fish completions/fish/exa.fish \
--zsh completions/zsh/_exa
'';
meta = with lib; {
description = "Replacement for 'ls' written in Rust";
longDescription = ''
exa is a modern replacement for ls. It uses colours for information by
default, helping you distinguish between many types of files, such as
whether you are the owner, or in the owning group. It also has extra
features not present in the original ls, such as viewing the Git status
for a directory, or recursing into directories with a tree view. exa is
written in Rust, so its small, fast, and portable.
'';
changelog = "https://github.com/ogham/exa/releases";
homepage = "https://the.exa.website";
license = licenses.mit;
maintainers = with maintainers; [ ehegnes lilyball globin fortuneteller2k ];
mainProgram = "exa";
};
}

View File

@ -496,6 +496,7 @@ mapAliases ({
euca2tools = throw "euca2ools has been removed because it is unmaintained upstream and still uses python2"; # Added 2022-01-01
evilvte = throw "evilvte has been removed from nixpkgs for being unmaintained with security issues and dependant on an old version of vte which was removed"; # Added 2022-01-14
evolution_data_server = throw "'evolution_data_server' has been renamed to/replaced by 'evolution-data-server'"; # Converted to throw 2022-02-22
exa = throw "'exa' has been removed because it is unmaintained upstream. Consider using 'eza', a maintained fork"; # Added 2023-09-07
exhibitor = throw "'exhibitor' has been removed because it is unmaintained upstream"; # Added 2023-06-20
exfat-utils = throw "'exfat-utils' has been renamed to/replaced by 'exfat'"; # Converted to throw 2022-02-22

View File

@ -7983,10 +7983,6 @@ with pkgs;
eva = callPackage ../tools/misc/eva { };
exa = callPackage ../tools/misc/exa {
inherit (darwin.apple_sdk.frameworks) Security;
};
exactaudiocopy = callPackage ../applications/audio/exact-audio-copy { };
exempi = callPackage ../development/libraries/exempi { };