From 7a5e4438273cc84623e825938752bf4cb475d485 Mon Sep 17 00:00:00 2001 From: Anton Mosich Date: Fri, 18 Apr 2025 01:58:19 +0200 Subject: [PATCH] iv: drop iv was only used as a dependency for neuron. The last neuron version that used iv was 7.7, so when updating neuron to 8.2.1 in 77aed400272819132e4eeccd9b4bc7aa61c901b6 iv was made obsolete. It continued building (with an incorrect URL due to an unchanged hash) up until December 2024. Now the time has come for iv to be dropped. --- .../science/biology/iv/default.nix | 46 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 4 -- 3 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 pkgs/applications/science/biology/iv/default.nix diff --git a/pkgs/applications/science/biology/iv/default.nix b/pkgs/applications/science/biology/iv/default.nix deleted file mode 100644 index 32a32488c734..000000000000 --- a/pkgs/applications/science/biology/iv/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ - lib, - stdenv, - fetchurl, - neuron-version, - libX11, - libXext, - patchelf, -}: - -stdenv.mkDerivation rec { - pname = "iv"; - version = "19"; - - src = fetchurl { - url = "https://www.neuron.yale.edu/ftp/neuron/versions/v${neuron-version}/iv-${version}.tar.gz"; - sha256 = "07a3g8zzay4h0bls7fh89dd0phn7s34c2g15pij6dsnwpmjg06yx"; - }; - - nativeBuildInputs = [ patchelf ]; - buildInputs = [ libXext ]; - propagatedBuildInputs = [ libX11 ]; - - hardeningDisable = [ "format" ]; - - postInstall = - '' - for dir in $out/*; do # */ - if [ -d $dir/lib ]; then - mv $dir/* $out # */ - rmdir $dir - break - fi - done - '' - + lib.optionalString stdenv.hostPlatform.isLinux '' - patchelf --add-needed ${libX11}/lib/libX11.so $out/lib/libIVhines.so - ''; - - meta = with lib; { - description = "InterViews graphical library for Neuron"; - license = licenses.bsd3; - homepage = "http://www.neuron.yale.edu/neuron"; - platforms = platforms.all; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index be6e15e7baeb..ec3db5b8a70c 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -848,6 +848,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 + iv = throw "iv has been removed as it was no longer required for neuron and broken"; # Added 2025-04-18 ix = throw "ix has been removed from Nixpkgs, as the ix.io pastebin has been offline since Dec. 2023"; # Added 2025-04-11 ### J ### diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3d87089c5c08..f92c65ee8b0c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17980,10 +17980,6 @@ with pkgs; inherit (llvmPackages) openmp; }; - iv = callPackage ../applications/science/biology/iv { - neuron-version = neuron.version; - }; - kallisto = callPackage ../applications/science/biology/kallisto { autoconf = buildPackages.autoconf269; };