Merge pull request #172383 from Mindavi/treewide/remove-broken

Treewide(ish): remove long-time broken pkgs
This commit is contained in:
Rick van Schijndel 2022-05-11 19:34:13 +02:00 committed by GitHub
commit e680b5cf74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 2 additions and 443 deletions

View file

@ -1,34 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, deadbeef, gtk3, libxml2 }:
stdenv.mkDerivation rec {
pname = "deadbeef-infobar-plugin";
version = "1.4";
src = fetchurl {
url = "https://bitbucket.org/dsimbiriatin/deadbeef-infobar/downloads/deadbeef-infobar-${version}.tar.gz";
sha256 = "0c9wh3wh1hdww7v96i8cy797la06mylhfi0880k8vwh88079aapf";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ deadbeef gtk3 libxml2 ];
buildFlags = [ "gtk3" ];
installPhase = ''
runHook preInstall
mkdir -p $out/lib/deadbeef
cp gtk3/ddb_infobar_gtk3.so $out/lib/deadbeef
runHook postInstall
'';
meta = with lib; {
broken = true; # crashes DeaDBeeF and is abandoned (https://bitbucket.org/dsimbiriatin/deadbeef-infobar/issues/38/infobar-causes-deadbeef-180-to-crash)
description = "DeaDBeeF Infobar Plugin";
homepage = "https://bitbucket.org/dsimbiriatin/deadbeef-infobar";
license = licenses.gpl2Plus;
maintainers = [ maintainers.jtojnar ];
platforms = platforms.linux;
};
}

View file

@ -1,34 +0,0 @@
{ lib, stdenv, fetchFromGitHub, fetchurl, cgal, boost, gmp, mpfr, flex, bison, dxflib, readline
, qtbase, qmake, libGLU
}:
stdenv.mkDerivation rec {
version = "0.9.8";
pname = "rapcad";
src = fetchFromGitHub {
owner = "gilesbathgate";
repo = "rapcad";
rev = "v${version}";
sha256 = "0a0sqf6h227zalh0jrz6jpm8iwji7q3i31plqk76i4qm9vsgrhir";
};
patches = [
(fetchurl {
url = "https://github.com/GilesBathgate/RapCAD/commit/278a8d6c7b8fe08f867002528bbab4a6319a7bb6.patch";
sha256 = "1vvkyf0wg79zdzs5zlggfrr1lrp1x75dglzl0mspnycwldsdwznj";
name = "disable-QVector-qHash.patch";
})
];
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase cgal boost gmp mpfr flex bison dxflib readline libGLU ];
meta = with lib; {
license = licenses.gpl3;
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
description = "Constructive solid geometry package";
broken = true; # 2018-04-11
};
}

View file

@ -1,115 +0,0 @@
{ fetchFromGitHub, libxcb, mtools, p7zip, parted, procps, qemu, unzip, zip,
coreutils, gnugrep, which, gnused, e2fsprogs, autoPatchelfHook, gptfdisk,
python3Packages, qt5, runtimeShell, lib, util-linux, wrapQtAppsHook }:
# Note: Multibootusb is tricky to maintain. It relies on the
# $PYTHONPATH variable containing some of their code, so that
# something like:
#
# from scripts import config
#
# works. It also relies on the current directory to find some runtime
# resources thanks to a use of __file__.
#
# https://github.com/mbusb/multibootusb/blob/0d34d70c3868f1d7695cfd141141b17c075de967/scripts/osdriver.py#L59
python3Packages.buildPythonApplication rec {
pname = "multibootusb";
name = "${pname}-${version}";
version = "9.2.0";
nativeBuildInputs = [
wrapQtAppsHook
autoPatchelfHook
unzip
zip
];
runTimeDeps = [
coreutils
gnugrep
which
parted
util-linux
qemu
p7zip
gnused
mtools
procps
e2fsprogs
gptfdisk
];
buildInputs = [
libxcb
python3Packages.python
qt5.full
];
src = fetchFromGitHub {
owner = "mbusb";
repo = pname;
rev = "v${version}";
sha256 = "0wlan0cp6c2i0nahixgpmkm0h4n518gj8rc515d579pqqp91p2h3";
};
# Tests can't run inside the NixOS sandbox
# "Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory"
doCheck = false;
pythonPath = with python3Packages; [
dbus-python
pyqt5
pytest-shutil
pyudev
six
];
# multibootusb ships zips with various versions of syslinux, we need to patchelf them
postPatch = ''
for zip in $(find . -name "*.zip"); do
zip=$(readlink -f $zip)
target="$(mktemp -d)"
pushd $target
unzip $zip
rm $zip
autoPatchelf .
zip -r $zip *
popd
done
'';
postInstall = ''
# This script doesn't work and it doesn't add much anyway
rm $out/bin/multibootusb-pkexec
# The installed data isn't sufficient for whatever reason, missing gdisk/gdisk.exe
mkdir -p "$out/share/${pname}"
cp -r data "$out/share/${pname}/data"
'';
preFixup = ''
makeWrapperArgs+=(
# Firstly, add all necessary QT variables
"''${qtWrapperArgs[@]}"
# Then, add the installed scripts/ directory to the python path
--prefix "PYTHONPATH" ":" "$out/lib/${python3Packages.python.libPrefix}/site-packages"
# Add some runtime dependencies
--prefix "PATH" ":" "${lib.makeBinPath runTimeDeps}"
# Finally, move to directory that contains data
--chdir "$out/share/${pname}"
)
'';
meta = with lib; {
description = "Multiboot USB creator for Linux live disks";
homepage = "http://multibootusb.org/";
license = licenses.gpl2;
maintainers = []; # Looking for a maintainer!
broken = true; # "name 'config' is not defined", added 2021-02-06
};
}

View file

@ -1,23 +0,0 @@
{ lib, stdenv, fetchurl, bison, libuuid, curl, libxml2, flex }:
stdenv.mkDerivation rec {
version = "3.20.6";
pname = "libdap";
nativeBuildInputs = [ bison flex ];
buildInputs = [ libuuid curl libxml2 ];
src = fetchurl {
url = "https://www.opendap.org/pub/source/${pname}-${version}.tar.gz";
sha256 = "0jn5bi8k2lq6mmrsw7r1r5aviyf8gb39b2iy20v4kpkj5napzk1m";
};
meta = with lib; {
description = "A C++ SDK which contains an implementation of DAP";
homepage = "https://www.opendap.org/software/libdap";
license = licenses.lgpl2;
maintainers = [ maintainers.bzizou ];
platforms = platforms.linux;
broken = true;
};
}

View file

@ -1,27 +0,0 @@
{ lib, stdenv, fetchFromGitHub, cmake, opencv, qtbase, qtsvg }:
stdenv.mkDerivation {
version = "0.5";
pname = "openbr";
src = fetchFromGitHub {
owner = "biometrics";
repo = "openbr";
rev = "cc364a89a86698cd8d3052f42a3cb520c929b325";
sha256 = "12y00cf5dlzp9ciiwbihf6xhlkdxpydhscv5hwp83qjdllid9rrz";
};
buildInputs = [ opencv qtbase qtsvg ];
nativeBuildInputs = [ cmake ];
meta = {
description = "Open Source Biometric Recognition";
homepage = "http://openbiometrics.org/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [flosse];
platforms = with lib.platforms; linux;
broken = true;
};
}

View file

@ -1,57 +0,0 @@
{ mkDerivation, lib, fetchFromGitHub
, cmake, git, pkg-config, wget, zip
, qtbase, qtx11extras
, libdwarf, libjpeg_turbo, libunwind, xz, tinyxml, libX11
, SDL2, SDL2_gfx, SDL2_image, SDL2_ttf
, freeglut, libGLU
, fetchpatch
}:
mkDerivation {
pname = "vogl";
version = "2016-05-13";
src = fetchFromGitHub {
owner = "deepfire";
repo = "vogl";
rev = "cbc5f1853e294b363f16c4e00b3e0c49dbf74559";
sha256 = "17gwd73x3lnqv6ccqs48pzqwbzjhbn41c0x0l5zzirhiirb3yh0n";
};
patches = [
(fetchpatch {
name = "fix-qt59.patch";
url = "https://github.com/ValveSoftware/vogl/commit/be3d85f.patch";
sha256 = "1yh4jd35mds337waqxdw3w22w7ghn05b5jm7fb4iihl39mhq6qyv";
})
];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [
git wget zip
qtbase qtx11extras
libdwarf libjpeg_turbo libunwind xz tinyxml libX11
SDL2 SDL2_gfx SDL2_image SDL2_ttf
freeglut libGLU
];
dontUseCmakeBuildDir = true;
preConfigure = ''
cmakeDir=$PWD
mkdir -p vogl/vogl_build/release64 && cd $_
'';
cmakeFlags = [
"-DCMAKE_VERBOSE=On"
"-DBUILD_X64=On"
];
meta = with lib; {
description = "OpenGL capture / playback debugger";
homepage = "https://github.com/ValveSoftware/vogl";
license = licenses.mit;
maintainers = [ maintainers.deepfire ];
platforms = [ "x86_64-linux" "i686-linux" ];
broken = true;
};
}

View file

@ -76,7 +76,8 @@ stdenv.mkDerivation rec {
homepage = "https://www.unrealengine.com/what-is-unreal-engine-4";
license = lib.licenses.unfree;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.puffnfresh ];
maintainers = [ ];
# See issue https://github.com/NixOS/nixpkgs/issues/17162
broken = true;
};
}

View file

@ -1,44 +0,0 @@
# Tested on linux-x86_64. Might work on linux-i386. Probably won't work on anything else.
# To use this driver in NixOS, add it to printing.drivers in configuration.nix.
# configuration.nix might look like this when you're done:
# { pkgs, ... }: {
# printing = {
# enable = true;
# drivers = [ pkgs.samsungUnifiedLinuxDriver ];
# };
# (more stuff)
# }
# (This advice was tested on 2010 August 2.)
{ lib, stdenv, fetchurl, cups, gcc, ghostscript, glibc, patchelf }:
# Do not bump lightly! Visit <http://www.bchemnet.com/suldr/supported.html>
# to see what will break when upgrading. Consider a new versioned attribute.
let
cups' = lib.getLib cups;
in stdenv.mkDerivation rec {
pname = "samsung-UnifiedLinuxDriver";
version = "4.00.39";
src = fetchurl {
url = "http://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-${version}.tar.gz";
sha256 = "144b4xggbzjfq7ga5nza7nra2cf6qn63z5ls7ba1jybkx1vm369k";
};
nativeBuildInputs = [ patchelf ];
buildInputs = [ cups' gcc ghostscript glibc ];
inherit gcc ghostscript glibc;
cups = cups';
builder = ./builder.sh;
meta = with lib; {
description = "Samsung's Linux printing drivers; includes binaries without source code";
homepage = "http://www.samsung.com/";
license = licenses.unfree;
platforms = platforms.linux;
broken = true; # libscmssc.so and libmfp.so can't find their library dependencies at run-time
};
}

View file

@ -1,49 +0,0 @@
{ lib, stdenv
, fetchFromGitHub
, cmake
, sqlite
, botan2
, boost
, curl
, gettext
, pkg-config
, libusb1
, gnutls }:
stdenv.mkDerivation rec {
pname = "neopg";
version = "0.0.6";
src = fetchFromGitHub {
owner = "das-labor";
repo = "neopg";
rev = "v${version}";
sha256 = "15xp5w046ix59cfrhh8ka4camr0d8qqw643g184sqrcqwpk7nbrx";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake gettext pkg-config ];
buildInputs = [ sqlite botan2 boost curl libusb1 gnutls ];
doCheck = true;
checkTarget = "test";
dontUseCmakeBuildDir = true;
preCheck = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$(pwd)/3rdparty/googletest/googletest:$(pwd)/neopg
'';
meta = with lib; {
homepage = "https://neopg.io/";
description = "Modern replacement for GnuPG 2";
license = licenses.gpl3;
longDescription = ''
NeoPG starts as an opiniated fork of GnuPG 2 to clean up the code and make it easier to develop.
It is written in C++11.
'';
maintainers = with maintainers; [ erictapen ];
platforms = platforms.linux;
broken = true; # fails to build with recent versions of botan. https://github.com/das-labor/neopg/issues/98
};
}

View file

@ -1,44 +0,0 @@
{ fetchurl, lib, stdenv, gcj, unzip }:
stdenv.mkDerivation rec {
pname = "pdftk";
version = "2.02";
src = fetchurl {
url = "https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk-${version}-src.zip";
sha256 = "1hdq6zm2dx2f9h7bjrp6a1hfa1ywgkwydp14i2sszjiszljnm3qi";
};
nativeBuildInputs = [ gcj unzip ];
hardeningDisable = [ "fortify" "format" ];
preBuild = ''
cd pdftk
sed -e 's@/usr/bin/@@g' -i Makefile.*
NIX_ENFORCE_PURITY= \
make \
LIBGCJ="${gcj.cc}/share/java/libgcj-${gcj.cc.version}.jar" \
GCJ=gcj GCJH=gcjh GJAR=gjar \
-iC ../java all
'';
# Makefile.Debian has almost fitting defaults
makeFlags = [ "-f" "Makefile.Debian" "VERSUFF=" ];
installPhase = ''
mkdir -p $out/bin $out/share/man/man1
cp pdftk $out/bin
cp ../pdftk.1 $out/share/man/man1
'';
meta = {
description = "Simple tool for doing everyday things with PDF documents";
homepage = "https://www.pdflabs.com/tools/pdftk-server/";
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ raskin ];
platforms = with lib.platforms; linux;
broken = true; # Broken on Hydra since 2020-08-24
};
}

View file

@ -8535,8 +8535,6 @@ with pkgs;
ndisc6 = callPackage ../tools/networking/ndisc6 { };
neopg = callPackage ../tools/security/neopg { };
netboot = callPackage ../tools/networking/netboot {};
netbootxyz-efi = callPackage ../tools/misc/netbootxyz-efi { };
@ -18331,8 +18329,6 @@ with pkgs;
libdaemon = callPackage ../development/libraries/libdaemon { };
libdap = callPackage ../development/libraries/libdap { };
libdatrie = callPackage ../development/libraries/libdatrie { };
libdazzle = callPackage ../development/libraries/libdazzle { };
@ -25725,7 +25721,6 @@ with pkgs;
deadbeefPlugins = {
headerbar-gtk3 = callPackage ../applications/audio/deadbeef/plugins/headerbar-gtk3.nix { };
infobar = callPackage ../applications/audio/deadbeef/plugins/infobar.nix { };
lyricbar = callPackage ../applications/audio/deadbeef/plugins/lyricbar.nix { };
mpris2 = callPackage ../applications/audio/deadbeef/plugins/mpris2.nix { };
statusnotifier = callPackage ../applications/audio/deadbeef/plugins/statusnotifier.nix { };
@ -26747,8 +26742,6 @@ with pkgs;
moe = callPackage ../applications/editors/moe { };
multibootusb = libsForQt514.callPackage ../applications/misc/multibootusb { qt5 = qt514; };
praat = callPackage ../applications/audio/praat { };
quvi = callPackage ../applications/video/quvi/tool.nix {
@ -28857,7 +28850,6 @@ with pkgs;
pdftk = callPackage ../tools/typesetting/pdftk {
jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
};
pdftk-legacy = lowPrio (callPackage ../tools/typesetting/pdftk/legacy.nix { });
pdfgrep = callPackage ../tools/typesetting/pdfgrep { };
pdfpc = callPackage ../applications/misc/pdfpc {
@ -29267,8 +29259,6 @@ with pkgs;
raiseorlaunch = callPackage ../applications/misc/raiseorlaunch {};
rapcad = libsForQt514.callPackage ../applications/graphics/rapcad { boost = boost159; };
rapid-photo-downloader = libsForQt5.callPackage ../applications/graphics/rapid-photo-downloader { };
rapidsvn = callPackage ../applications/version-management/rapidsvn { };
@ -30374,8 +30364,6 @@ with pkgs;
vocal = callPackage ../applications/audio/vocal { };
vogl = libsForQt5.callPackage ../development/tools/vogl { };
volnoti = callPackage ../applications/misc/volnoti { };
vorbis-tools = callPackage ../applications/audio/vorbis-tools {
@ -34512,7 +34500,6 @@ with pkgs;
samsung-unified-linux-driver_1_00_36 = callPackage ../misc/cups/drivers/samsung/1.00.36 { };
samsung-unified-linux-driver_1_00_37 = callPackage ../misc/cups/drivers/samsung/1.00.37.nix { };
samsung-unified-linux-driver_4_00_39 = callPackage ../misc/cups/drivers/samsung/4.00.39 { };
samsung-unified-linux-driver_4_01_17 = callPackage ../misc/cups/drivers/samsung/4.01.17.nix { };
samsung-unified-linux-driver = res.samsung-unified-linux-driver_4_01_17;

View file

@ -154,8 +154,6 @@ in (kdeFrameworks // plasmaMobileGear // plasma5 // plasma5.thirdParty // kdeGea
mlt = callPackage ../development/libraries/mlt/qt-5.nix { };
openbr = callPackage ../development/libraries/openbr { };
phonon = callPackage ../development/libraries/phonon { };
phonon-backend-gstreamer = callPackage ../development/libraries/phonon/backends/gstreamer.nix { };