mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 05:59:17 +03:00
xxv: remove
Upstream repo has been archived since 2022.
This commit is contained in:
parent
2bd0a0f92f
commit
ad9d0d07c5
2 changed files with 1 additions and 48 deletions
|
@ -1,48 +0,0 @@
|
||||||
{
|
|
||||||
stdenv,
|
|
||||||
lib,
|
|
||||||
fetchFromGitHub,
|
|
||||||
rustPlatform,
|
|
||||||
ncurses ? null,
|
|
||||||
darwin ? null,
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
useNcurses = !stdenv.hostPlatform.isWindows;
|
|
||||||
in
|
|
||||||
|
|
||||||
assert useNcurses -> ncurses != null;
|
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
|
||||||
pname = "xxv";
|
|
||||||
version = "0.1.2";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "chrisvest";
|
|
||||||
repo = pname;
|
|
||||||
rev = version;
|
|
||||||
sha256 = "0ppfsgdigza2jppbkg4qanjhlkpnq7p115c4471vc6vpikpfrlk3";
|
|
||||||
};
|
|
||||||
|
|
||||||
cargoHash = "sha256-S8IKBXREJ+0z4Qz9i3RH52btg1Mpk6GjKIJf4ivdt14=";
|
|
||||||
|
|
||||||
buildInputs =
|
|
||||||
lib.optionals useNcurses [ ncurses ]
|
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [ Security ]);
|
|
||||||
|
|
||||||
# I'm picking pancurses for Windows simply because that's the example given in Cursive's
|
|
||||||
# documentation for picking an alternative backend. We could just as easily pick crossterm.
|
|
||||||
buildNoDefaultFeatures = !useNcurses;
|
|
||||||
buildFeatures = lib.optional (!useNcurses) "pancurses-backend";
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Visual hex viewer for the terminal";
|
|
||||||
longDescription = ''
|
|
||||||
XXV is a terminal hex viewer with a text user interface, written in 100% safe Rust.
|
|
||||||
'';
|
|
||||||
homepage = "https://chrisvest.github.io/xxv/";
|
|
||||||
license = with licenses; [ gpl3 ];
|
|
||||||
maintainers = [ ];
|
|
||||||
mainProgram = "xxv";
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1503,6 +1503,7 @@ mapAliases {
|
||||||
xulrunner = firefox-unwrapped; # Added 2023-11-03
|
xulrunner = firefox-unwrapped; # Added 2023-11-03
|
||||||
xvfb_run = throw "'xvfb_run' has been renamed to/replaced by 'xvfb-run'"; # Converted to throw 2024-10-17
|
xvfb_run = throw "'xvfb_run' has been renamed to/replaced by 'xvfb-run'"; # Converted to throw 2024-10-17
|
||||||
xwaylandvideobridge = libsForQt5.xwaylandvideobridge; # Added 2024-09-27
|
xwaylandvideobridge = libsForQt5.xwaylandvideobridge; # Added 2024-09-27
|
||||||
|
xxv = throw "'xxv' has been removed due to lack of upstream maintenance"; # Added 2025-01-25
|
||||||
|
|
||||||
### Y ###
|
### Y ###
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue