aliza: remove
This commit is contained in:
parent
141579b8a2
commit
fd9213cf75
|
@ -1,60 +0,0 @@
|
|||
{ lib, stdenv, fetchurl, rpmextract, makeWrapper, patchelf, qt4, zlib, libX11, libXt, libSM, libICE, libXext, libGLU, libGL }:
|
||||
|
||||
with lib;
|
||||
stdenv.mkDerivation {
|
||||
pname = "aliza";
|
||||
version = "1.98.57";
|
||||
src = fetchurl {
|
||||
# See https://www.aliza-dicom-viewer.com/download
|
||||
urls = [
|
||||
"https://drive.google.com/uc?export=download&id=1-AXa3tjy_onecW2k7ftjAQl0KGTb0B1Y"
|
||||
"https://web.archive.org/web/20210327224315/https://doc-0s-0s-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/1lgjid9ti29rdf5ebmd7o58iqhs3gfpo/1616884950000/16072287944266838401/*/1-AXa3tjy_onecW2k7ftjAQl0KGTb0B1Y?e=download"
|
||||
];
|
||||
sha256 = "01qk2gadmc24pmfdnmpiz7vgfiqkvhznyq9rsr153frscg76gc9b";
|
||||
name = "aliza.rpm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper rpmextract ];
|
||||
|
||||
unpackCmd = "rpmextract $curSrc";
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's/^Exec.*$/Exec=aliza %F/' share/applications/aliza.desktop
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out
|
||||
cp -r bin share $out
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postInstall = let
|
||||
libs = lib.makeLibraryPath [ qt4 zlib stdenv.cc.cc libSM libICE libX11 libXext libXt libGLU libGL ];
|
||||
in ''
|
||||
${patchelf}/bin/patchelf \
|
||||
--interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
$out/bin/aliza
|
||||
|
||||
${patchelf}/bin/patchelf \
|
||||
--interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
$out/bin/aliza-vtkvol
|
||||
|
||||
wrapProgram $out/bin/aliza \
|
||||
--prefix LD_LIBRARY_PATH : ${libs}
|
||||
|
||||
wrapProgram $out/bin/aliza-vtkvol \
|
||||
--prefix LD_LIBRARY_PATH : ${libs}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Medical imaging software with 2D, 3D and 4D capabilities";
|
||||
homepage = "https://www.aliza-dicom-viewer.com";
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
license = licenses.unfreeRedistributable;
|
||||
maintainers = with maintainers; [ mounium ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -69,6 +69,7 @@ mapAliases ({
|
|||
airfield = throw "airfield has been removed due to being unmaintained"; # Added 2023-05-19
|
||||
airtame = throw "airtame has been removed due to being unmaintained"; # Added 2022-01-19
|
||||
aleth = throw "aleth (previously packaged as cpp_ethereum) has been removed; abandoned upstream"; # Added 2020-11-30
|
||||
aliza = throw "aliza has been removed, because it depended on qt4 and was unmaintained in nixpkgs"; # Added 2022-05-12
|
||||
alsaLib = alsa-lib; # Added 2021-06-09
|
||||
alsaOss = alsa-oss; # Added 2021-06-10
|
||||
alsaPluginWrapper = alsa-plugins-wrapper; # Added 2021-06-10
|
||||
|
|
|
@ -39563,8 +39563,6 @@ with pkgs;
|
|||
|
||||
### SCIENCE/MEDICINE
|
||||
|
||||
aliza = callPackage ../applications/science/medicine/aliza { };
|
||||
|
||||
dcmtk = callPackage ../applications/science/medicine/dcmtk { };
|
||||
|
||||
xmedcon = callPackage ../applications/science/medicine/xmedcon { };
|
||||
|
|
Loading…
Reference in a new issue