Merge pull request #310394 from Sigmanificient/remove-2y-broken
Remove long (18+ months) broken packages
This commit is contained in:
commit
24432d228e
@ -1,37 +0,0 @@
|
||||
# To use this for hacking of your Yi config file, drop into a shell
|
||||
# with env attribute.
|
||||
{ lib, stdenv, makeWrapper
|
||||
, haskellPackages
|
||||
, extraPackages ? (s: [])
|
||||
}:
|
||||
let
|
||||
yiEnv = haskellPackages.ghcWithPackages
|
||||
(self: [ self.yi ] ++ extraPackages self);
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "yi-custom";
|
||||
version = "0.0.0.1";
|
||||
dontUnpack = true;
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${haskellPackages.yi}/bin/yi $out/bin/yi \
|
||||
--set NIX_GHC ${yiEnv}/bin/ghc
|
||||
'';
|
||||
|
||||
# For hacking purposes
|
||||
passthru.env = yiEnv;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Allows Yi to find libraries and the compiler easily";
|
||||
# This wrapper and wrapper only is under PD
|
||||
license = licenses.publicDomain;
|
||||
maintainers = with maintainers; [ ];
|
||||
|
||||
# dependency yi-language no longer builds
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
broken = true;
|
||||
};
|
||||
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
{ lib, stdenv, fetchFromGitHub, gradle_6, perl, jre, makeWrapper, makeDesktopItem, mplayer }:
|
||||
|
||||
let
|
||||
version = "6.6.7-build-529";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "frostwire";
|
||||
repo = "frostwire";
|
||||
rev = "frostwire-desktop-${version}";
|
||||
sha256 = "03wdj2kr8akzx8m1scvg98132zbaxh81qjdsxn2645b3gahjwz0m";
|
||||
};
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "frostwire";
|
||||
desktopName = "FrostWire";
|
||||
genericName = "P2P Bittorrent client";
|
||||
exec = "frostwire";
|
||||
icon = "frostwire";
|
||||
comment = "Search and explore all kinds of files on the Bittorrent network";
|
||||
categories = [ "Network" "FileTransfer" "P2P" ];
|
||||
};
|
||||
|
||||
# fake build to pre-download deps into fixed-output derivation
|
||||
deps = stdenv.mkDerivation {
|
||||
pname = "frostwire-desktop-deps";
|
||||
inherit version src;
|
||||
buildInputs = [ gradle_6 perl ];
|
||||
buildPhase = ''
|
||||
export GRADLE_USER_HOME=$(mktemp -d)
|
||||
( cd desktop
|
||||
gradle --no-daemon build
|
||||
)
|
||||
'';
|
||||
# perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar)
|
||||
installPhase = ''
|
||||
find $GRADLE_USER_HOME -type f -regex '.*\.\(jar\|pom\)' \
|
||||
| perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \
|
||||
| sh
|
||||
'';
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "sha256-r6YSrbSJbM3063JrX4tCVKFrJxTaLN4Trc+33jzpwcE=";
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
pname = "frostwire-desktop";
|
||||
inherit version src;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ gradle_6 ];
|
||||
|
||||
buildPhase = ''
|
||||
export GRADLE_USER_HOME=$(mktemp -d)
|
||||
( cd desktop
|
||||
|
||||
# disable auto-update (anyway it won't update frostwire installed in nix store)
|
||||
substituteInPlace src/com/frostwire/gui/updates/UpdateManager.java \
|
||||
--replace 'um.checkForUpdates' '// um.checkForUpdates'
|
||||
|
||||
# fix path to mplayer
|
||||
substituteInPlace src/com/frostwire/gui/player/MediaPlayerLinux.java \
|
||||
--replace /usr/bin/mplayer ${mplayer}/bin/mplayer
|
||||
|
||||
substituteInPlace build.gradle \
|
||||
--replace 'mavenCentral()' 'mavenLocal(); maven { url uri("${deps}") }'
|
||||
gradle --offline --no-daemon build
|
||||
)
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib $out/share/java
|
||||
|
||||
cp desktop/build/libs/frostwire.jar $out/share/java/frostwire.jar
|
||||
|
||||
cp ${ { x86_64-darwin = "desktop/lib/native/*.dylib";
|
||||
x86_64-linux = "desktop/lib/native/lib{jlibtorrent,SystemUtilities}.so";
|
||||
i686-linux = "desktop/lib/native/lib{jlibtorrent,SystemUtilities}X86.so";
|
||||
}.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}")
|
||||
} $out/lib
|
||||
|
||||
cp -dpR ${desktopItem}/share $out
|
||||
|
||||
makeWrapper ${jre}/bin/java $out/bin/frostwire \
|
||||
--add-flags "-Djava.library.path=$out/lib -jar $out/share/java/frostwire.jar"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.frostwire.com/";
|
||||
description = "BitTorrent Client and Cloud File Downloader";
|
||||
sourceProvenance = with sourceTypes; [
|
||||
fromSource
|
||||
binaryBytecode # deps
|
||||
];
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ gavin ];
|
||||
platforms = [ "x86_64-darwin" "x86_64-linux" "i686-linux" ];
|
||||
broken = true; # at 2022-09-30, errors with changing hash.
|
||||
};
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
{ mkDerivation
|
||||
, async, base, bytestring, containers, fetchFromGitLab, mtl
|
||||
, parallel-io, parsec, lib, stm, transformers, sbv_7_13}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "petrinizer";
|
||||
version = "0.9.1.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.lrz.de";
|
||||
owner = "i7";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1n7fzm96gq5rxm2f8w8sr1yzm1zcxpf0b473c6xnhsgqsis5j4xw";
|
||||
};
|
||||
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
executableHaskellDepends = [
|
||||
async base bytestring containers mtl parallel-io parsec sbv_7_13 stm
|
||||
transformers
|
||||
];
|
||||
description = "Safety and Liveness Analysis of Petri Nets with SMT solvers";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
inherit (sbv_7_13.meta) platforms;
|
||||
|
||||
# dependency sbv no longer builds
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
broken = true;
|
||||
}
|
@ -153,8 +153,7 @@
|
||||
|
||||
refined = callPackage ./refined.nix {};
|
||||
|
||||
sdl = callPackage ./sdl.nix {};
|
||||
|
||||
sdl = throw "'idrisPackages.sdl' has been removed, as it was broken and unmaintained"; # added 2024-05-09
|
||||
sdl2 = callPackage ./sdl2.nix {};
|
||||
|
||||
semidirect = callPackage ./semidirect.nix {};
|
||||
|
@ -1,30 +0,0 @@
|
||||
{ build-idris-package
|
||||
, fetchFromGitHub
|
||||
, effects
|
||||
, lib
|
||||
, SDL
|
||||
, SDL_gfx
|
||||
}:
|
||||
build-idris-package {
|
||||
pname = "sdl";
|
||||
version = "2017-03-24";
|
||||
|
||||
idrisDeps = [ effects ];
|
||||
|
||||
extraBuildInputs = [ SDL SDL_gfx ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "edwinb";
|
||||
repo = "SDL-idris";
|
||||
rev = "095ce70da7ea9f163b018b690105edf375f1befe";
|
||||
sha256 = "0nryssnaqfq2pvz2mbl2kkx6mig310f9dpgrbcx788nxi0qzsig6";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "SDL-idris framework for Idris";
|
||||
homepage = "https://github.com/edwinb/SDL-idris";
|
||||
maintainers = [ lib.maintainers.brainrape ];
|
||||
# Can't find file sdlrun.o
|
||||
broken = true;
|
||||
};
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
{ lib, stdenv, fetchurl, patchelf, zlib, libmad, libpng12, libcaca, libGLU, libGL, alsa-lib, libpulseaudio
|
||||
, xorg }:
|
||||
|
||||
let
|
||||
|
||||
inherit (xorg) libXext libX11;
|
||||
|
||||
lpath = "${stdenv.cc.cc.lib}/lib64:" + lib.makeLibraryPath [
|
||||
zlib libmad libpng12 libcaca libXext libX11 libGLU libGL alsa-lib libpulseaudio];
|
||||
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "adom-${version}-noteye";
|
||||
version = "1.2.0_pre23";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ancardia.uk.to/download/adom_noteye_linux_ubuntu_64_${version}.tar.gz";
|
||||
sha256 = "0sbn0csaqb9cqi0z5fdwvnymkf84g64csg0s9mm6fzh0sm2mi0hz";
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
. $stdenv/setup
|
||||
|
||||
unpackPhase
|
||||
|
||||
mkdir -pv $out
|
||||
cp -r -t $out adom/*
|
||||
|
||||
chmod u+w $out/lib
|
||||
for l in $out/lib/*so* ; do
|
||||
chmod u+w $l
|
||||
${patchelf}/bin/patchelf \
|
||||
--set-rpath "$out/lib:${lpath}" \
|
||||
$l
|
||||
done
|
||||
|
||||
${patchelf}/bin/patchelf \
|
||||
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath "$out/lib:${lpath}" \
|
||||
$out/adom
|
||||
|
||||
mkdir $out/bin
|
||||
cat >$out/bin/adom <<EOF
|
||||
#! ${stdenv.shell}
|
||||
(cd $out; exec $out/adom ; )
|
||||
EOF
|
||||
chmod +x $out/bin/adom
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A rogue-like game with nice graphical interface";
|
||||
homepage = "http://adom.de/";
|
||||
license = licenses.unfreeRedistributable;
|
||||
maintainers = [maintainers.smironov];
|
||||
|
||||
# Please, notify me (smironov) if you need the x86 version
|
||||
platforms = ["x86_64-linux"];
|
||||
broken = true; # at 2022-09-30, failed download.
|
||||
};
|
||||
}
|
@ -104,7 +104,6 @@ let
|
||||
};
|
||||
"osx-10.9.5" = {
|
||||
launchd = "842.92.1";
|
||||
libauto = "185.5";
|
||||
Libc = "997.90.3"; # We use this, but not from here
|
||||
Libsystem = "1197.1.1";
|
||||
Security = "55471.14.18";
|
||||
@ -259,7 +258,6 @@ developerToolsPackages_11_3_1 // macosPackages_11_0_1 // {
|
||||
eap8021x = applePackage "eap8021x" "osx-10.11.6" "sha256-54P3+YhVhOanoZQoqswDnr/GbR/AdEERse135nyuIQo=" {};
|
||||
IOKit = applePackage "IOKit" "osx-10.11.6" "" { inherit IOKitSrcs; };
|
||||
launchd = applePackage "launchd" "osx-10.9.5" "sha256-dmV0UK7hG9wvTr+F4Z47nCFXcVZCV+cQ46WbE0DBtJs=" {};
|
||||
libauto = applePackage "libauto" "osx-10.9.5" "sha256-GnRcKq8jRbEsI/PSDphwUjWtpEIEcnLlQL9yxYLgSsU=" {};
|
||||
Libc = applePackage "Libc" "osx-10.12.6" "sha256-LSsL7S3KFgGU9qjK4atu/4wBh8ftgfsk6JOvg+ZTZOY=" {
|
||||
Libc_10-9 = fetchFromGitHub {
|
||||
owner = "apple-oss-distributions";
|
||||
|
@ -1,129 +0,0 @@
|
||||
/*
|
||||
* Generated by dtrace(1M).
|
||||
*/
|
||||
|
||||
#ifndef _AUTO_DTRACE_H
|
||||
#define _AUTO_DTRACE_H
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define GARBAGE_COLLECTION_STABILITY "___dtrace_stability$garbage_collection$v1$1_1_0_1_1_0_1_1_0_1_1_0_1_1_0"
|
||||
|
||||
#define GARBAGE_COLLECTION_TYPEDEFS "___dtrace_typedefs$garbage_collection$v2$6175746f5f636f6c6c656374696f6e5f70686173655f74$6175746f5f636f6c6c656374696f6e5f747970655f74$6d616c6c6f635f7a6f6e655f74"
|
||||
|
||||
#if !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED
|
||||
|
||||
#define GARBAGE_COLLECTION_AUTO_BLOCK_LOST_THREAD_LOCALITY(arg0, arg1) \
|
||||
do { \
|
||||
__asm__ volatile(".reference " GARBAGE_COLLECTION_TYPEDEFS); \
|
||||
__dtrace_probe$garbage_collection$auto_block_lost_thread_locality$v1$766f6964202a$75696e7436345f74(arg0, arg1); \
|
||||
__asm__ volatile(".reference " GARBAGE_COLLECTION_STABILITY); \
|
||||
} while (0)
|
||||
#define GARBAGE_COLLECTION_AUTO_BLOCK_LOST_THREAD_LOCALITY_ENABLED() \
|
||||
({ int _r = __dtrace_isenabled$garbage_collection$auto_block_lost_thread_locality$v1(); \
|
||||
__asm__ volatile(""); \
|
||||
_r; })
|
||||
#define GARBAGE_COLLECTION_AUTO_REFCOUNT_ONE_ALLOCATION(arg0) \
|
||||
do { \
|
||||
__asm__ volatile(".reference " GARBAGE_COLLECTION_TYPEDEFS); \
|
||||
__dtrace_probe$garbage_collection$auto_refcount_one_allocation$v1$75696e7436345f74(arg0); \
|
||||
__asm__ volatile(".reference " GARBAGE_COLLECTION_STABILITY); \
|
||||
} while (0)
|
||||
#define GARBAGE_COLLECTION_AUTO_REFCOUNT_ONE_ALLOCATION_ENABLED() \
|
||||
({ int _r = __dtrace_isenabled$garbage_collection$auto_refcount_one_allocation$v1(); \
|
||||
__asm__ volatile(""); \
|
||||
_r; })
|
||||
#define GARBAGE_COLLECTION_COLLECTION_BEGIN(arg0, arg1) \
|
||||
do { \
|
||||
__asm__ volatile(".reference " GARBAGE_COLLECTION_TYPEDEFS); \
|
||||
__dtrace_probe$garbage_collection$collection_begin$v1$6d616c6c6f635f7a6f6e655f74202a$6175746f5f636f6c6c656374696f6e5f747970655f74(arg0, arg1); \
|
||||
__asm__ volatile(".reference " GARBAGE_COLLECTION_STABILITY); \
|
||||
} while (0)
|
||||
#define GARBAGE_COLLECTION_COLLECTION_BEGIN_ENABLED() \
|
||||
({ int _r = __dtrace_isenabled$garbage_collection$collection_begin$v1(); \
|
||||
__asm__ volatile(""); \
|
||||
_r; })
|
||||
#define GARBAGE_COLLECTION_COLLECTION_END(arg0, arg1, arg2, arg3, arg4) \
|
||||
do { \
|
||||
__asm__ volatile(".reference " GARBAGE_COLLECTION_TYPEDEFS); \
|
||||
__dtrace_probe$garbage_collection$collection_end$v1$6d616c6c6f635f7a6f6e655f74202a$75696e7436345f74$75696e7436345f74$75696e7436345f74$75696e7436345f74(arg0, arg1, arg2, arg3, arg4); \
|
||||
__asm__ volatile(".reference " GARBAGE_COLLECTION_STABILITY); \
|
||||
} while (0)
|
||||
#define GARBAGE_COLLECTION_COLLECTION_END_ENABLED() \
|
||||
({ int _r = __dtrace_isenabled$garbage_collection$collection_end$v1(); \
|
||||
__asm__ volatile(""); \
|
||||
_r; })
|
||||
#define GARBAGE_COLLECTION_COLLECTION_PHASE_BEGIN(arg0, arg1) \
|
||||
do { \
|
||||
__asm__ volatile(".reference " GARBAGE_COLLECTION_TYPEDEFS); \
|
||||
__dtrace_probe$garbage_collection$collection_phase_begin$v1$6d616c6c6f635f7a6f6e655f74202a$6175746f5f636f6c6c656374696f6e5f70686173655f74(arg0, arg1); \
|
||||
__asm__ volatile(".reference " GARBAGE_COLLECTION_STABILITY); \
|
||||
} while (0)
|
||||
#define GARBAGE_COLLECTION_COLLECTION_PHASE_BEGIN_ENABLED() \
|
||||
({ int _r = __dtrace_isenabled$garbage_collection$collection_phase_begin$v1(); \
|
||||
__asm__ volatile(""); \
|
||||
_r; })
|
||||
#define GARBAGE_COLLECTION_COLLECTION_PHASE_END(arg0, arg1, arg2, arg3) \
|
||||
do { \
|
||||
__asm__ volatile(".reference " GARBAGE_COLLECTION_TYPEDEFS); \
|
||||
__dtrace_probe$garbage_collection$collection_phase_end$v1$6d616c6c6f635f7a6f6e655f74202a$6175746f5f636f6c6c656374696f6e5f70686173655f74$75696e7436345f74$75696e7436345f74(arg0, arg1, arg2, arg3); \
|
||||
__asm__ volatile(".reference " GARBAGE_COLLECTION_STABILITY); \
|
||||
} while (0)
|
||||
#define GARBAGE_COLLECTION_COLLECTION_PHASE_END_ENABLED() \
|
||||
({ int _r = __dtrace_isenabled$garbage_collection$collection_phase_end$v1(); \
|
||||
__asm__ volatile(""); \
|
||||
_r; })
|
||||
|
||||
|
||||
extern void __dtrace_probe$garbage_collection$auto_block_lost_thread_locality$v1$766f6964202a$75696e7436345f74(const void *, uint64_t);
|
||||
extern int __dtrace_isenabled$garbage_collection$auto_block_lost_thread_locality$v1(void);
|
||||
extern void __dtrace_probe$garbage_collection$auto_refcount_one_allocation$v1$75696e7436345f74(uint64_t);
|
||||
extern int __dtrace_isenabled$garbage_collection$auto_refcount_one_allocation$v1(void);
|
||||
extern void __dtrace_probe$garbage_collection$collection_begin$v1$6d616c6c6f635f7a6f6e655f74202a$6175746f5f636f6c6c656374696f6e5f747970655f74(const malloc_zone_t *, auto_collection_type_t);
|
||||
extern int __dtrace_isenabled$garbage_collection$collection_begin$v1(void);
|
||||
extern void __dtrace_probe$garbage_collection$collection_end$v1$6d616c6c6f635f7a6f6e655f74202a$75696e7436345f74$75696e7436345f74$75696e7436345f74$75696e7436345f74(const malloc_zone_t *, uint64_t, uint64_t, uint64_t, uint64_t);
|
||||
extern int __dtrace_isenabled$garbage_collection$collection_end$v1(void);
|
||||
extern void __dtrace_probe$garbage_collection$collection_phase_begin$v1$6d616c6c6f635f7a6f6e655f74202a$6175746f5f636f6c6c656374696f6e5f70686173655f74(const malloc_zone_t *, auto_collection_phase_t);
|
||||
extern int __dtrace_isenabled$garbage_collection$collection_phase_begin$v1(void);
|
||||
extern void __dtrace_probe$garbage_collection$collection_phase_end$v1$6d616c6c6f635f7a6f6e655f74202a$6175746f5f636f6c6c656374696f6e5f70686173655f74$75696e7436345f74$75696e7436345f74(const malloc_zone_t *, auto_collection_phase_t, uint64_t, uint64_t);
|
||||
extern int __dtrace_isenabled$garbage_collection$collection_phase_end$v1(void);
|
||||
|
||||
#else
|
||||
|
||||
#define GARBAGE_COLLECTION_AUTO_BLOCK_LOST_THREAD_LOCALITY(arg0, arg1) \
|
||||
do { \
|
||||
} while (0)
|
||||
#define GARBAGE_COLLECTION_AUTO_BLOCK_LOST_THREAD_LOCALITY_ENABLED() (0)
|
||||
#define GARBAGE_COLLECTION_AUTO_REFCOUNT_ONE_ALLOCATION(arg0) \
|
||||
do { \
|
||||
} while (0)
|
||||
#define GARBAGE_COLLECTION_AUTO_REFCOUNT_ONE_ALLOCATION_ENABLED() (0)
|
||||
#define GARBAGE_COLLECTION_COLLECTION_BEGIN(arg0, arg1) \
|
||||
do { \
|
||||
} while (0)
|
||||
#define GARBAGE_COLLECTION_COLLECTION_BEGIN_ENABLED() (0)
|
||||
#define GARBAGE_COLLECTION_COLLECTION_END(arg0, arg1, arg2, arg3, arg4) \
|
||||
do { \
|
||||
} while (0)
|
||||
#define GARBAGE_COLLECTION_COLLECTION_END_ENABLED() (0)
|
||||
#define GARBAGE_COLLECTION_COLLECTION_PHASE_BEGIN(arg0, arg1) \
|
||||
do { \
|
||||
} while (0)
|
||||
#define GARBAGE_COLLECTION_COLLECTION_PHASE_BEGIN_ENABLED() (0)
|
||||
#define GARBAGE_COLLECTION_COLLECTION_PHASE_END(arg0, arg1, arg2, arg3) \
|
||||
do { \
|
||||
} while (0)
|
||||
#define GARBAGE_COLLECTION_COLLECTION_PHASE_END_ENABLED() (0)
|
||||
|
||||
#endif /* !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED */
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AUTO_DTRACE_H */
|
@ -1,86 +0,0 @@
|
||||
{ lib, stdenv, appleDerivation, libdispatch, Libsystem }:
|
||||
|
||||
appleDerivation {
|
||||
# these are included in the pure libc
|
||||
buildInputs = lib.optionals stdenv.cc.nativeLibc [ libdispatch Libsystem ];
|
||||
|
||||
buildPhase = ''
|
||||
cp ${./auto_dtrace.h} ./auto_dtrace.h
|
||||
|
||||
substituteInPlace ThreadLocalCollector.h --replace SubZone.h Subzone.h
|
||||
|
||||
substituteInPlace auto_zone.cpp \
|
||||
--replace "#include <msgtracer_client.h>" ''$'#include <asl.h>\nstatic void msgtracer_log_with_keys(...) { };'
|
||||
|
||||
substituteInPlace Definitions.h \
|
||||
--replace "#include <System/pthread_machdep.h>" "" \
|
||||
--replace 'void * const, void * const' 'void * const, void *'
|
||||
|
||||
# getspecific_direct is more efficient, but this should be equivalent...
|
||||
substituteInPlace Zone.h \
|
||||
--replace "_pthread_getspecific_direct" "pthread_getspecific" \
|
||||
--replace "_pthread_has_direct_tsd()" "0" \
|
||||
--replace "__PTK_FRAMEWORK_GC_KEY0" "110" \
|
||||
--replace "__PTK_FRAMEWORK_GC_KEY1" "111" \
|
||||
--replace "__PTK_FRAMEWORK_GC_KEY2" "112" \
|
||||
--replace "__PTK_FRAMEWORK_GC_KEY3" "113" \
|
||||
--replace "__PTK_FRAMEWORK_GC_KEY4" "114" \
|
||||
--replace "__PTK_FRAMEWORK_GC_KEY5" "115" \
|
||||
--replace "__PTK_FRAMEWORK_GC_KEY6" "116" \
|
||||
--replace "__PTK_FRAMEWORK_GC_KEY7" "117" \
|
||||
--replace "__PTK_FRAMEWORK_GC_KEY8" "118" \
|
||||
--replace "__PTK_FRAMEWORK_GC_KEY9" "119"
|
||||
|
||||
substituteInPlace auto_zone.cpp \
|
||||
--replace "__PTK_FRAMEWORK_GC_KEY9" "119" \
|
||||
--replace "__PTK_FRAMEWORK_GC_KEY0" "110" \
|
||||
|
||||
substituteInPlace Zone.cpp \
|
||||
--replace "_pthread_getspecific_direct" "pthread_getspecific" \
|
||||
--replace "__PTK_FRAMEWORK_GC_KEY9" "119" \
|
||||
--replace "__PTK_FRAMEWORK_GC_KEY0" "110" \
|
||||
--replace "__PTK_LIBDISPATCH_KEY0" "20" \
|
||||
--replace "struct auto_zone_cursor {" ''$'extern "C" int pthread_key_init_np(int, void (*)(void *));\nstruct auto_zone_cursor {'
|
||||
|
||||
substituteInPlace auto_impl_utilities.c \
|
||||
--replace "# include <CrashReporterClient.h>" "void CRSetCrashLogMessage(void *msg) { };"
|
||||
|
||||
c++ -I. -O3 -c -Wno-c++11-extensions auto_zone.cpp
|
||||
cc -I. -O3 -Iauto_tester -c auto_impl_utilities.c
|
||||
c++ -I. -O3 -c auto_weak.cpp
|
||||
c++ -I. -O3 -c Admin.cpp
|
||||
c++ -I. -O3 -c Bitmap.cpp
|
||||
c++ -I. -O3 -c Definitions.cpp
|
||||
c++ -I. -O3 -c Environment.cpp
|
||||
c++ -I. -O3 -c Large.cpp
|
||||
c++ -I. -O3 -c Region.cpp
|
||||
c++ -I. -O3 -c Subzone.cpp
|
||||
c++ -I. -O3 -c WriteBarrier.cpp
|
||||
c++ -I. -O3 -c Zone.cpp
|
||||
c++ -I. -O3 -c Thread.cpp
|
||||
c++ -I. -O3 -c InUseEnumerator.cpp
|
||||
c++ -I. -O3 -c auto_gdb_interface.cpp
|
||||
c++ -I. -O3 -c PointerHash.cpp
|
||||
c++ -I. -O3 -c ThreadLocalCollector.cpp
|
||||
c++ -I. -O3 -c ZoneDump.cpp
|
||||
c++ -I. -O3 -c ZoneCollectors.cpp
|
||||
c++ -I. -O3 -c SubzonePartition.cpp
|
||||
c++ -I. -O3 -c ZoneCollectionChecking.cpp
|
||||
c++ -I. -O3 -c ZoneCompaction.cpp
|
||||
c++ -I. -O3 -c BlockRef.cpp
|
||||
|
||||
c++ -Wl,-no_dtrace_dof --stdlib=libc++ -dynamiclib -install_name $out/lib/libauto.dylib -o libauto.dylib *.o
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib $out/include
|
||||
cp auto_zone.h auto_weak.h auto_tester/auto_tester.h auto_gdb_interface.h $out/include
|
||||
cp libauto.dylib $out/lib
|
||||
'';
|
||||
|
||||
meta = {
|
||||
# libauto is only used by objc4/pure.nix , but objc4 is now using the impure approach, so we don't bother to fix this.
|
||||
broken = true;
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
}
|
@ -1,118 +0,0 @@
|
||||
{ stdenv, fetchapplesource, libauto, launchd, libc_old, libunwind }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "551.1";
|
||||
pname = "objc4";
|
||||
|
||||
src = fetchapplesource {
|
||||
inherit version;
|
||||
name = "objc4";
|
||||
sha256 = "1jrdb6yyb5jwwj27c1r0nr2y2ihqjln8ynj61mpkvp144c1cm5bg";
|
||||
};
|
||||
|
||||
patches = [ ./spinlocks.patch ];
|
||||
|
||||
buildInputs = [ libauto launchd libc_old libunwind ];
|
||||
|
||||
buildPhase = ''
|
||||
cp ${./objc-probes.h} runtime/objc-probes.h
|
||||
|
||||
mkdir -p build/include/objc
|
||||
|
||||
cp runtime/hashtable.h build/include/objc/hashtable.h
|
||||
cp runtime/OldClasses.subproj/List.h build/include/objc/List.h
|
||||
cp runtime/hashtable2.h build/include/objc/hashtable2.h
|
||||
cp runtime/message.h build/include/objc/message.h
|
||||
cp runtime/objc-api.h build/include/objc/objc-api.h
|
||||
cp runtime/objc-auto.h build/include/objc/objc-auto.h
|
||||
cp runtime/objc-class.h build/include/objc/objc-class.h
|
||||
cp runtime/objc-exception.h build/include/objc/objc-exception.h
|
||||
cp runtime/objc-load.h build/include/objc/objc-load.h
|
||||
cp runtime/objc-sync.h build/include/objc/objc-sync.h
|
||||
cp runtime/objc.h build/include/objc/objc.h
|
||||
cp runtime/objc-runtime.h build/include/objc/objc-runtime.h
|
||||
cp runtime/Object.h build/include/objc/Object.h
|
||||
cp runtime/Protocol.h build/include/objc/Protocol.h
|
||||
cp runtime/runtime.h build/include/objc/runtime.h
|
||||
cp runtime/NSObject.h build/include/objc/NSObject.h
|
||||
cp runtime/NSObjCRuntime.h build/include/objc/NSObjCRuntime.h
|
||||
|
||||
# These would normally be in local/include but we don't do local, so they're
|
||||
# going in with the others
|
||||
cp runtime/maptable.h build/include/objc/maptable.h
|
||||
cp runtime/objc-abi.h build/include/objc/objc-abi.h
|
||||
cp runtime/objc-auto-dump.h build/include/objc/objc-auto-dump.h
|
||||
cp runtime/objc-gdb.h build/include/objc/objc-gdb.h
|
||||
cp runtime/objc-internal.h build/include/objc/objc-internal.h
|
||||
|
||||
cc -o markgc markgc.c
|
||||
|
||||
FLAGS="-Wno-deprecated-register -Wno-unknown-pragmas -Wno-deprecated-objc-isa-usage -Wno-invalid-offsetof -Wno-inline-new-delete -Wno-cast-of-sel-type -Iruntime -Ibuild/include -Iruntime/Accessors.subproj -D_LIBCPP_VISIBLE= -DOS_OBJECT_USE_OBJC=0 -DNDEBUG=1"
|
||||
|
||||
cc -std=gnu++11 $FLAGS -c runtime/hashtable2.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/maptable.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-auto.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-cache.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-class-old.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-class.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-errors.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-exception.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-file.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-initialize.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-layout.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-load.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-loadmethod.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-lockdebug.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-runtime-new.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-runtime-old.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-runtime.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-sel-set.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-sel.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-sync.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-typeencoding.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/Object.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/Protocol.mm
|
||||
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-references.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-os.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-auto-dump.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-file-old.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-block-trampolines.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-externalref.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-weak.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/NSObject.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-opt.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-cache-old.mm
|
||||
cc -std=gnu++11 $FLAGS -c runtime/objc-sel-old.mm
|
||||
|
||||
cc -std=gnu++11 $FLAGS -c runtime/Accessors.subproj/objc-accessors.mm
|
||||
|
||||
cc $FLAGS -c runtime/objc-sel-table.s
|
||||
|
||||
cc $FLAGS -c runtime/OldClasses.subproj/List.m
|
||||
cc $FLAGS -c runtime/Messengers.subproj/objc-msg-arm.s
|
||||
cc $FLAGS -c runtime/Messengers.subproj/objc-msg-i386.s
|
||||
cc $FLAGS -c runtime/Messengers.subproj/objc-msg-x86_64.s
|
||||
cc $FLAGS -c runtime/Messengers.subproj/objc-msg-simulator-i386.s
|
||||
|
||||
cc $FLAGS -c runtime/a1a2-blocktramps-i386.s
|
||||
cc $FLAGS -c runtime/a2a3-blocktramps-i386.s
|
||||
|
||||
cc $FLAGS -c runtime/a1a2-blocktramps-x86_64.s
|
||||
cc $FLAGS -c runtime/a2a3-blocktramps-x86_64.s
|
||||
|
||||
cc $FLAGS -c runtime/a1a2-blocktramps-arm.s
|
||||
cc $FLAGS -c runtime/a2a3-blocktramps-arm.s
|
||||
|
||||
c++ -Wl,-no_dtrace_dof --stdlib=libc++ -dynamiclib -lauto -install_name $out/lib/libobjc.dylib -o libobjc.dylib *.o
|
||||
|
||||
./markgc -p libobjc.dylib
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include $out/lib
|
||||
|
||||
mv build/include/objc $out/include
|
||||
mv libobjc.dylib $out/lib
|
||||
'';
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, pkg-config,
|
||||
libtool, check, bison, git, gperf,
|
||||
perl, texinfo, help2man, gettext, ncurses
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "dgsh-unstable";
|
||||
version = "2017-02-05";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dspinellis";
|
||||
repo = "dgsh";
|
||||
rev = "bc4fc2e8009c069ee4df5140c32a2fc15d0acdec";
|
||||
sha256 = "0k3hmnarz56wphw45mabn5zcc427l5p77jldh1qqy89pxqy1wnql";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [ ./glibc-2.26.patch ];
|
||||
|
||||
nativeBuildInputs = [ autoconf automake pkg-config libtool check
|
||||
bison git gettext gperf perl texinfo help2man ncurses
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
cp -r ./unix-tools/coreutils/gnulib gnulib
|
||||
perl -pi -e \
|
||||
's#./bootstrap #./bootstrap --no-bootstrap-sync --skip-po --no-git --gnulib-srcdir='$PWD/gnulib' #g' \
|
||||
unix-tools/Makefile
|
||||
find . -name \*.diff | xargs rm -f
|
||||
rm -rf unix-tools/*/gnulib
|
||||
patchShebangs unix-tools/diffutils/man/help2man
|
||||
export RSYNC=true # set to rsync binary, eventhough it is not used.
|
||||
make PREFIX=$out config
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Directed Graph Shell";
|
||||
homepage = "http://www.dmst.aueb.gr/dds/sw/dgsh";
|
||||
license = with licenses; asl20;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
platforms = with platforms; all;
|
||||
# lib/freadseek.c:68:3: error: #error "Please port gnulib freadseek.c to your platform! Look at the definition of getc, getc_unlocked on your >
|
||||
# 68 | #error "Please port gnulib freadseek.c to your platform! Look at the definition of getc, getc_unlocked on your system, then report >
|
||||
broken = true; # marked 2022-05-06
|
||||
};
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
diff --git a/core-tools/src/dgsh-httpval.c b/core-tools/src/dgsh-httpval.c
|
||||
index 8b5dce3..7b43c3d 100644
|
||||
--- a/core-tools/src/dgsh-httpval.c
|
||||
+++ b/core-tools/src/dgsh-httpval.c
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
+#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
@ -1,37 +0,0 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "yrd";
|
||||
version = "0.5.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kpcyrd";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1yx1hr8z4cvlb3yi24dwafs0nxq41k4q477jc9q24w61a0g662ps";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
argh
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
nose
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests -v yrd
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cjdns swiss army knife";
|
||||
maintainers = with maintainers; [ akru ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl3Only;
|
||||
homepage = "https://github.com/kpcyrd/yrd";
|
||||
};
|
||||
}
|
@ -60,6 +60,7 @@ mapAliases ({
|
||||
a4term = a4; # Added 2023-10-06
|
||||
acorn = throw "acorn has been removed as the upstream project was archived"; # Added 2024-04-27
|
||||
adtool = throw "'adtool' has been removed, as it was broken and unmaintained";
|
||||
adom = throw "'adom' has been removed, as it was broken and unmaintained"; # added 2024-05-09
|
||||
advcpmv = throw "'advcpmv' has been removed, as it is not being actively maintained and break recent coreutils."; # Added 2024-03-29
|
||||
aether = throw "aether has been removed from nixpkgs; upstream unmaintained, security issues"; # Added 2023-10-03
|
||||
afl = throw "afl has been removed as the upstream project was archived. Consider using 'aflplusplus'"; # Added 2024-04-21
|
||||
@ -249,6 +250,7 @@ mapAliases ({
|
||||
dep = throw "'dep' has been removed, because it is deprecated and archived in favor of Go modules"; # Added 2023-12-26
|
||||
devserver = throw "'devserver' has been removed in favor of 'miniserve' or other alternatives"; # Added 2023-01-13
|
||||
dfeet = throw "'dfeet' has been removed because it is archived upstream. Please use 'd-spy' instead"; # Added 2024-03-07
|
||||
dgsh = throw "'dgsh' has been removed, as it was broken and unmaintained"; # added 2024-05-09
|
||||
dhcp = throw "dhcp (ISC DHCP) has been removed from nixpkgs, because it reached its end of life"; # Added 2023-04-04
|
||||
dibbler = throw "dibbler was removed because it is not maintained anymore"; # Added 2024-05-14
|
||||
dnnl = oneDNN; # Added 2020-04-22
|
||||
@ -387,6 +389,7 @@ mapAliases ({
|
||||
fractal-next = fractal; # added 2023-11-25
|
||||
framework-system-tools = framework-tool; # added 2023-12-09
|
||||
fritzprofiles = throw "fritzprofiles was removed from nixpkgs, because it was removed as dependency of home-assistant for which it was pacakged."; # added 2024-01-05
|
||||
frostwire = throw "frostwire was removed, as it was broken due to reproducibility issues, use `frostwire-bin` package instead."; # added 2024-05-17
|
||||
fuse2fs = if stdenv.isLinux then e2fsprogs.fuse2fs else null; # Added 2022-03-27 preserve, reason: convenience, arch has a package named fuse2fs too.
|
||||
futuresql = libsForQt5.futuresql; # added 2023-11-11
|
||||
fx_cast_bridge = fx-cast-bridge; # added 2023-07-26
|
||||
@ -988,6 +991,7 @@ mapAliases ({
|
||||
percona-xtrabackup_8_0 = percona-xtrabackup_lts; # Added 2024-05-07
|
||||
perldevel = throw "'perldevel' has been dropped due to lack of updates in nixpkgs and lack of consistent support for devel versions by 'perl-cross' releases, use 'perl' instead";
|
||||
perldevelPackages = perldevel;
|
||||
petrinizer = throw "'petrinizer' has been removed, as it was broken and unmaintained"; # added 2024-05-09
|
||||
pgadmin = pgadmin4;
|
||||
pharo-spur64 = pharo; # Added 2022-08-03
|
||||
phodav_2_0 = throw "'phodav_2_0' has been renamed to/replaced by 'phodav'"; # Added 2023-02-21
|
||||
@ -1394,6 +1398,8 @@ mapAliases ({
|
||||
yacc = bison; # moved from top-level 2021-03-14
|
||||
yafaray-core = libyafaray; # Added 2022-09-23
|
||||
yarn2nix-moretea-openssl_1_1 = throw "'yarn2nix-moretea-openssl_1_1' has been removed."; # Added 2023-02-04
|
||||
yi = throw "'yi' has been removed, as it was broken and unmaintained"; # added 2024-05-09
|
||||
yrd = throw "'yrd' has been removed, as it was broken and unmaintained"; # added 2024-05-27
|
||||
ytmdesktop = throw "ytmdesktop was removed because upstream vanished"; # added 2024-03-24
|
||||
yubikey-manager4 = throw "yubikey-manager4 has been removed, since it is no longer required by yubikey-manager-qt. Please update to yubikey-manager."; # Added 2024-01-14
|
||||
yuzu-ea = throw "yuzu-ea has been removed from nixpkgs, as it has been taken down upstream"; # Added 2024-03-04
|
||||
|
@ -3668,8 +3668,6 @@ with pkgs;
|
||||
|
||||
djmount = callPackage ../tools/filesystems/djmount { };
|
||||
|
||||
dgsh = callPackage ../shells/dgsh { };
|
||||
|
||||
dkimpy = with python3Packages; toPythonApplication dkimpy;
|
||||
|
||||
dl-librescore = callPackage ../tools/audio/dl-librescore { };
|
||||
@ -8119,7 +8117,6 @@ with pkgs;
|
||||
|
||||
frigate = callPackage ../applications/video/frigate { };
|
||||
|
||||
frostwire = callPackage ../applications/networking/p2p/frostwire { };
|
||||
frostwire-bin = callPackage ../applications/networking/p2p/frostwire/frostwire-bin.nix { };
|
||||
|
||||
ftgl = callPackage ../development/libraries/ftgl { };
|
||||
@ -14791,11 +14788,6 @@ with pkgs;
|
||||
|
||||
ytfzf = callPackage ../tools/misc/ytfzf { };
|
||||
|
||||
# To expose more packages for Yi, override the extraPackages arg.
|
||||
yi = callPackage ../applications/editors/yi/wrapper.nix {
|
||||
haskellPackages = haskell.packages.ghc810;
|
||||
};
|
||||
|
||||
yaydl = callPackage ../tools/video/yaydl {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
@ -34437,8 +34429,6 @@ with pkgs;
|
||||
|
||||
peru = callPackage ../applications/version-management/peru { };
|
||||
|
||||
petrinizer = haskellPackages.callPackage ../applications/science/logic/petrinizer { };
|
||||
|
||||
pmidi = callPackage ../applications/audio/pmidi { };
|
||||
|
||||
printrun = callPackage ../applications/misc/printrun { };
|
||||
@ -36437,8 +36427,6 @@ with pkgs;
|
||||
|
||||
abuse = callPackage ../games/abuse { };
|
||||
|
||||
adom = callPackage ../games/adom { };
|
||||
|
||||
airshipper = callPackage ../games/airshipper { };
|
||||
|
||||
airstrike = callPackage ../games/airstrike { };
|
||||
@ -40758,8 +40746,6 @@ with pkgs;
|
||||
stdenv = crossLibcStdenv;
|
||||
};
|
||||
|
||||
yrd = callPackage ../tools/networking/yrd { };
|
||||
|
||||
powershell = callPackage ../shells/powershell { };
|
||||
|
||||
doing = callPackage ../applications/misc/doing { };
|
||||
|
@ -57,6 +57,7 @@ mapAliases ({
|
||||
|
||||
### L ###
|
||||
|
||||
libauto = throw "'darwin.libauto' has been removed, as it was broken and unmaintained"; # added 2024-05-10
|
||||
libiconv = pkgs.libiconv; # 2024-03-27
|
||||
|
||||
### O ###
|
||||
|
Loading…
Reference in New Issue
Block a user