nix-universal-prefetch: Drop unmaintained package
This commit is contained in:
parent
329081dc4b
commit
578d7e7178
@ -1,33 +0,0 @@
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, ruby
|
||||
}:
|
||||
|
||||
# No gems used, so mkDerivation is fine.
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nix-universal-prefetch";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "samueldr";
|
||||
repo = "nix-universal-prefetch";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-HGn4qHWqpUwlS3yQrD3j5oH0yOlphsoSPD2vkyyRv+0=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -pv $out/bin
|
||||
cp nix-universal-prefetch $out/bin/nix-universal-prefetch
|
||||
substituteInPlace "$out/bin/nix-universal-prefetch" \
|
||||
--replace "/usr/bin/env nix-shell" "${ruby}/bin/ruby"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Uses nixpkgs fetchers to figure out hashes";
|
||||
homepage = "https://github.com/samueldr/nix-universal-prefetch";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ samueldr ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
mainProgram = "nix-universal-prefetch";
|
||||
};
|
||||
}
|
@ -916,6 +916,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
|
||||
nix-universal-prefetch = throw "The nix-universal-prefetch 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
|
||||
|
@ -39600,8 +39600,6 @@ with pkgs;
|
||||
|
||||
nix-tree = haskell.lib.compose.justStaticExecutables (haskellPackages.nix-tree);
|
||||
|
||||
nix-universal-prefetch = callPackage ../tools/package-management/nix-universal-prefetch { };
|
||||
|
||||
nixpkgs-review = callPackage ../tools/package-management/nixpkgs-review { };
|
||||
|
||||
nix-serve = callPackage ../tools/package-management/nix-serve { };
|
||||
|
Loading…
Reference in New Issue
Block a user