olaris-server: drop package
Has failed to build since 2024.
This commit is contained in:
@@ -1,69 +0,0 @@
|
||||
{
|
||||
buildGoModule,
|
||||
fetchFromGitLab,
|
||||
fetchzip,
|
||||
ffmpeg,
|
||||
installShellFiles,
|
||||
lib,
|
||||
makeWrapper,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "olaris-server";
|
||||
version = "unstable-2022-06-11";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "olaris";
|
||||
repo = "olaris-server";
|
||||
rev = "bdb2aeb1595c941210249164a97c12404c1ae0d8";
|
||||
hash = "sha256-Uhnh6GC85ORKnfHeYNtbSA40osuscxXDF5/kXJrF2Cs=";
|
||||
};
|
||||
|
||||
preBuild =
|
||||
let
|
||||
olaris-react = fetchzip {
|
||||
url = "https://gitlab.com/api/v4/projects/olaris%2Folaris-react/jobs/artifacts/v${version}/download?job=build";
|
||||
extension = "zip";
|
||||
hash = "sha256-MkxBf/mGvtiOu0e79bMpd9Z/D0eOxhzPE+bKic//viM=";
|
||||
};
|
||||
in
|
||||
''
|
||||
# cannot build olaris-react https://github.com/NixOS/nixpkgs/issues/203708
|
||||
cp -r ${olaris-react} react/build
|
||||
make generate
|
||||
'';
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X gitlab.com/olaris/olaris-server/helpers.Version=${version}"
|
||||
];
|
||||
|
||||
vendorHash = "sha256-bw8zvDGFBci9bELsxAD0otpNocBnO8aAcgyohLZ3Mv0=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
# integration tests require network access
|
||||
doCheck = false;
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd olaris-server \
|
||||
--bash <($out/bin/olaris-server completion bash) \
|
||||
--fish <($out/bin/olaris-server completion fish) \
|
||||
--zsh <($out/bin/olaris-server completion zsh)
|
||||
wrapProgram $out/bin/olaris-server --prefix PATH : ${lib.makeBinPath [ ffmpeg ]}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
# Marked broken 2025-11-28 because it has failed on Hydra for at least one year.
|
||||
broken = true;
|
||||
description = "Media manager and transcoding server";
|
||||
homepage = "https://gitlab.com/olaris/olaris-server";
|
||||
changelog = "https://gitlab.com/olaris/olaris-server/-/releases/v${version}";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -1254,6 +1254,7 @@ mapAliases {
|
||||
obliv-c = throw "obliv-c has been removed from Nixpkgs, as it has been unmaintained upstream for 4 years and does not build with supported GCC versions"; # Added 2025-08-18
|
||||
oclgrind = throw "oclgrind has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10
|
||||
oil = throw "'oil' has been renamed to/replaced by 'oils-for-unix'"; # Converted to throw 2025-10-27
|
||||
olaris-server = throw "'olaris-server' has been removed as it failed to build since 2024"; # Added 2026-01-15
|
||||
onevpl-intel-gpu = throw "'onevpl-intel-gpu' has been renamed to/replaced by 'vpl-gpu-rt'"; # Converted to throw 2025-10-27
|
||||
onlyoffice-bin = throw "'onlyoffice-bin' has been renamed to/replaced by 'onlyoffice-desktopeditors'"; # Converted to throw 2025-10-27
|
||||
onlyoffice-bin_latest = throw "'onlyoffice-bin_latest' has been renamed to/replaced by 'onlyoffice-bin'"; # Converted to throw 2025-10-27
|
||||
|
||||
Reference in New Issue
Block a user