3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #129877 from Artturin/remove-ocz-ssd-guru

This commit is contained in:
Sandro 2021-07-13 15:43:12 +02:00 committed by GitHub
commit dc3e28e753
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 55 deletions

View file

@ -1,53 +0,0 @@
{ fetchurl, lib, stdenv, xorg, freetype, fontconfig, libGLU, libGL, glibc, makeWrapper }:
let
system = if stdenv.hostPlatform.system == "x86_64-linux" then "linux64" else "linux32";
in
stdenv.mkDerivation rec {
pname = "ocz-ssd-guru";
version = "1.0.1170";
src = fetchurl {
url = "http://ocz.com/consumer/download/ssd-guru/SSDGuru_${version}.tar.gz";
sha256 = "0ri7qmpc1xpy12lpzl6k298c641wcibcwrzz8jn75wdg4rr176r5";
};
nativeBuildInputs = [ makeWrapper ];
libPath = lib.makeLibraryPath [
xorg.libX11
xorg.libxcb
freetype
fontconfig
xorg.libXext
xorg.libXi
xorg.libXrender
stdenv.cc.cc
glibc
libGLU libGL
];
installPhase = ''
mkdir -p $out/bin
cp ${system}/SSDGuru $out/bin/
rm -rf linux{32,64}
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath $libPath:$out \
$out/bin/SSDGuru
wrapProgram $out/bin/SSDGuru --prefix LD_LIBRARY_PATH : $libPath
'';
dontStrip = true;
dontPatchELF = true;
meta = {
homepage = "http://ocz.com/ssd-guru";
description = "SSD Management Tool for OCZ disks";
license = lib.licenses.unfree;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ jagajaga ];
};
}

View file

@ -541,6 +541,7 @@ mapAliases ({
osxfuse = macfuse-stubs; # added 2021-03-20
otter-browser = throw "otter-browser has been removed from nixpkgs, as it was unmaintained"; # added 2020-02-02
owncloudclient = owncloud-client; # added 2016-08
ocz-ssd-guru = throw "ocz-ssd-guru has been removed due to there being no source available"; # added 2021-07-12
p11_kit = p11-kit; # added 2018-02-25
parity = openethereum; # added 2020-08-01
parquet-cpp = arrow-cpp; # added 2018-09-08

View file

@ -8224,8 +8224,6 @@ in
quickbms = pkgsi686Linux.callPackage ../tools/archivers/quickbms { };
ocz-ssd-guru = callPackage ../tools/misc/ocz-ssd-guru { };
q-text-as-data = callPackage ../tools/misc/q-text-as-data { };
qalculate-gtk = callPackage ../applications/science/math/qalculate-gtk { };