nix-top: Drop unmaintained package
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, ruby
|
||||
, makeWrapper
|
||||
, getent # /etc/passwd
|
||||
, ncurses # tput
|
||||
, binutils-unwrapped # strings
|
||||
, coreutils
|
||||
, findutils
|
||||
}:
|
||||
|
||||
# No gems used, so mkDerivation is fine.
|
||||
let
|
||||
additionalPath = lib.makeBinPath [ getent ncurses binutils-unwrapped coreutils findutils ];
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nix-top";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "samueldr";
|
||||
repo = "nix-top";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-w/TKzbZmMt4CX2KnLwPvR1ydp5NNlp9nNx78jJvhp54=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
ruby
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/libexec/nix-top
|
||||
install -D -m755 ./nix-top $out/bin/nix-top
|
||||
wrapProgram $out/bin/nix-top \
|
||||
--prefix PATH : "$out/libexec/nix-top:${additionalPath}"
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
ln -s /bin/stty $out/libexec/nix-top
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tracks what nix is building";
|
||||
homepage = "https://github.com/samueldr/nix-top";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ samueldr ];
|
||||
platforms = platforms.linux ++ platforms.darwin ++ platforms.freebsd;
|
||||
mainProgram = "nix-top";
|
||||
};
|
||||
}
|
||||
@@ -915,6 +915,7 @@ mapAliases ({
|
||||
);
|
||||
nix-review = throw "'nix-review' has been renamed to/replaced by 'nixpkgs-review'"; # Converted to throw 2023-09-10
|
||||
nix-template-rpm = throw "'nix-template-rpm' has been removed as it is broken and unmaintained"; # Added 2023-11-20
|
||||
nix-top = throw "The nix-top package was dropped since it was unmaintained."; # Added 2024-06-21
|
||||
nixFlakes = nixVersions.stable; # Added 2021-05-21
|
||||
nixStable = nixVersions.stable; # Added 2022-01-24
|
||||
nixUnstable = nixVersions.unstable; # Added 2022-01-26
|
||||
|
||||
@@ -39598,8 +39598,6 @@ with pkgs;
|
||||
|
||||
nix-script = callPackage ../tools/nix/nix-script { };
|
||||
|
||||
nix-top = callPackage ../tools/package-management/nix-top { };
|
||||
|
||||
nix-tree = haskell.lib.compose.justStaticExecutables (haskellPackages.nix-tree);
|
||||
|
||||
nix-universal-prefetch = callPackage ../tools/package-management/nix-universal-prefetch { };
|
||||
|
||||
Reference in New Issue
Block a user