scylladb: drop

This commit is contained in:
Anthony Roussel 2024-03-17 23:07:15 +01:00
parent 705f47f759
commit fd36732abd
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E
5 changed files with 1 additions and 149 deletions

View File

@ -1,28 +0,0 @@
diff --git a/configure.py b/configure.py
index 25ca951ac..454140420 100755
--- a/configure.py
+++ b/configure.py
@@ -36,13 +36,16 @@ tempfile.tempdir = "./build/tmp"
configure_args = str.join(' ', [shlex.quote(x) for x in sys.argv[1:]])
-for line in open('/etc/os-release'):
- key, _, value = line.partition('=')
- value = value.strip().strip('"')
- if key == 'ID':
- os_ids = [value]
- if key == 'ID_LIKE':
- os_ids += value.split(' ')
+try:
+ for line in open('/etc/os-release'):
+ key, _, value = line.partition('=')
+ value = value.strip().strip('"')
+ if key == 'ID':
+ os_ids = [value]
+ if key == 'ID_LIKE':
+ os_ids += value.split(' ')
+except FileNotFoundError:
+ os_ids = ["linux"]
# distribution "internationalization", converting package names.

View File

@ -1,104 +0,0 @@
{
lib,
fetchFromGitHub,
python3Packages,
pkg-config,
gcc8Stdenv,
boost,
git,
systemd,
gnutls,
cmake,
makeWrapper,
ninja,
ragel,
hwloc,
jsoncpp,
antlr3,
numactl,
protobuf,
cryptopp,
libxfs,
yaml-cpp,
libsystemtap,
lksctp-tools,
lz4,
libxml2,
zlib,
libpciaccess,
snappy,
libtool,
thrift
}:
gcc8Stdenv.mkDerivation {
pname = "scylladb";
version = "3.0.5";
src = fetchFromGitHub {
owner = "scylladb";
repo = "scylla";
rev = "403f66ecad6bc773712c69c4a80ebd172eb48b13";
sha256 = "sha256-UXOPLA2dhspbH40/se0r+jCdiW82BR895rvnef8Er5I=";
fetchSubmodules = true;
};
patches = [ ./seastar-configure-script-paths.patch ./configure-etc-osrelease.patch ];
nativeBuildInputs = [
pkg-config
cmake
makeWrapper
ninja
];
buildInputs = [
antlr3
python3Packages.pyparsing
boost
git
systemd
gnutls
ragel
jsoncpp
numactl
protobuf
cryptopp
libxfs
yaml-cpp
libsystemtap
lksctp-tools
lz4
libxml2
zlib
libpciaccess
snappy
libtool
thrift
];
postPatch = ''
patchShebangs ./configure.py
patchShebangs seastar/json/json2code.py
'';
configurePhase = ''
./configure.py --mode=release
'';
installPhase = ''
mkdir $out
cp -r * $out/
'';
requiredSystemFeatures = [ "big-parallel" ];
meta = with lib; {
description = "NoSQL data store using the seastar framework, compatible with Apache Cassandra";
homepage = "https://scylladb.com";
license = licenses.agpl3;
platforms = lib.platforms.linux;
hydraPlatforms = []; # It's huge ATM, about 18 GB.
maintainers = [ lib.maintainers.farlion ];
broken = true;
};
}

View File

@ -1,13 +0,0 @@
diff --git a/seastar/configure.py b/seastar/configure.py
index 62d9c204..f6520635 100755
--- a/seastar/configure.py
+++ b/seastar/configure.py
@@ -924,7 +924,7 @@ with open(buildfile, 'w') as f:
command = ragel -G2 -o $out $in && sed -i -e '1h;2,$$H;$$!d;g' -re 's/static const char _nfa[^;]*;//g' $out
description = RAGEL $out
rule gen
- command = /bin/echo -e $text > $out
+ command = echo -e $text > $out
description = GEN $out
rule swagger
command = json/json2code.py -f $in -o $out

View File

@ -1059,6 +1059,7 @@ mapAliases ({
schildichat-desktop = schildichat-web;
schildichat-desktop-wayland = schildichat-web;
scitoken-cpp = scitokens-cpp; # Added 2024-02-12
scylladb = throw "'scylladb' has been removed due to being unmaintained"; # Added 2024-03-17
sdlmame = throw "'sdlmame' has been renamed to/replaced by 'mame'"; # Converted to throw 2023-09-10
searx = throw "'searx' has been removed as it is unmaintained. Please switch to searxng"; # Added 2023-10-03
semver-cpp = throw "'semver-cpp' was removed because no packages in nixpkgs use it anymore"; # Added 2024-02-14

View File

@ -40593,10 +40593,6 @@ with pkgs;
sct = callPackage ../tools/X11/sct { };
scylladb = callPackage ../servers/scylladb {
thrift = thrift-0_10;
};
seafile-server = callPackage ../servers/seafile-server { };
seafile-shared = callPackage ../misc/seafile-shared { };