Unverified Commit 8f3d0a43 authored by nicoo's avatar nicoo Committed by GitHub
Browse files

ix: remove (#397949)

parent 7a0114fb
Loading
Loading
Loading
Loading

pkgs/by-name/ix/ix/package.nix

deleted100644 → 0
+0 −43
Original line number Diff line number Diff line
{
  lib,
  resholve,
  fetchurl,
  bash,
  curl,
}:

resholve.mkDerivation {
  pname = "ix";
  version = "20190815";

  src = fetchurl {
    url = "http://ix.io/client";
    hash = "sha256-p/j/Nz7tzLJV7HgUwVsiwN1WxCx4Por+HyRgFTTRgnU=";
  };

  dontUnpack = true;

  installPhase = ''
    runHook preInstall

    install -Dm555 $src $out/bin/ix
    substituteInPlace $out/bin/ix \
      --replace '$echo ' ""

    runHook postInstall
  '';

  solutions.default = {
    scripts = [ "bin/ix" ];
    interpreter = "${lib.getExe bash}";
    inputs = [ curl ];
  };

  meta = with lib; {
    homepage = "http://ix.io";
    description = "Command line pastebin";
    maintainers = with maintainers; [ peterhoeg ];
    platforms = platforms.all;
    mainProgram = "ix";
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -835,6 +835,7 @@ mapAliases {
  isl_0_17 = throw "isl_0_17 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-11-20
  iso-flags-png-320x420 = lib.warnOnInstantiate "iso-flags-png-320x420 has been renamed to iso-flags-png-320x240" iso-flags-png-320x240; # Added 2024-07-17
  itktcl = tclPackages.itktcl; # Added 2024-10-02
  ix = throw "ix has been removed from Nixpkgs, as the ix.io pastebin has been offline since Dec. 2023"; # Added 2025-04-11

  ### J ###