barrier: drop as upstream is unmaintained (#447357)

This commit is contained in:
Yohann Boniface
2025-09-30 07:03:43 +00:00
committed by GitHub
3 changed files with 1 additions and 80 deletions
@@ -1,78 +0,0 @@
{
lib,
fetchFromGitHub,
cmake,
curl,
xorg,
avahi,
qtbase,
mkDerivation,
openssl,
wrapGAppsHook3,
avahiWithLibdnssdCompat ? avahi.override { withLibdnssdCompat = true; },
fetchpatch,
}:
mkDerivation rec {
pname = "barrier";
version = "2.4.0";
src = fetchFromGitHub {
owner = "debauchee";
repo = "barrier";
rev = "v${version}";
hash = "sha256-2tHqLF3zS3C4UnOVIZfpcuzaemC9++nC7lXgFnFSfKU=";
fetchSubmodules = true;
};
patches = [
# This patch can be removed when a new version of barrier (greater than 2.4.0)
# is released, which will contain this commit.
(fetchpatch {
name = "add-missing-cstddef-header.patch";
url = "https://github.com/debauchee/barrier/commit/4b12265ae5d324b942698a3177e1d8b1749414d7.patch";
sha256 = "sha256-ajMxP7szBFi4h8cMT3qswfa3k/QiJ1FGI3q9fkCFQQk=";
})
];
CXXFLAGS = [
# error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'?
"-include cstdint"
];
buildInputs = [
curl
xorg.libX11
xorg.libXext
xorg.libXtst
avahiWithLibdnssdCompat
qtbase
];
nativeBuildInputs = [
cmake
wrapGAppsHook3
];
postFixup = ''
substituteInPlace "$out/share/applications/barrier.desktop" --replace "Exec=barrier" "Exec=$out/bin/barrier"
'';
qtWrapperArgs = [
''--prefix PATH : ${lib.makeBinPath [ openssl ]}''
];
meta = {
description = "Open-source KVM software";
longDescription = ''
Barrier is KVM software forked from Symless's synergy 1.9 codebase.
Synergy was a commercialized reimplementation of the original
CosmoSynergy written by Chris Schoeneman.
'';
homepage = "https://github.com/debauchee/barrier";
downloadPage = "https://github.com/debauchee/barrier/releases";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.phryneas ];
platforms = lib.platforms.linux;
mainProgram = "barrier";
};
}
+1
View File
@@ -507,6 +507,7 @@ mapAliases {
baserow = throw "baserow has been removed, due to lack of maintenance"; # Added 2025-08-02
bashInteractive_5 = throw "'bashInteractive_5' has been renamed to/replaced by 'bashInteractive'"; # Converted to throw 2024-10-17
bash_5 = throw "'bash_5' has been renamed to/replaced by 'bash'"; # Converted to throw 2024-10-17
barrier = throw "'barrier' has been removed as it is unmaintained. Consider 'deskflow' or 'input-leap' instead."; # Added 2025-09-29
bareboxTools = throw "bareboxTools has been removed due to lack of interest in maintaining it in nixpkgs"; # Added 2025-04-19
bazel_5 = throw "bazel_5 has been removed as it is EOL"; # Added 2025-08-09
bazel_6 = throw "bazel_6 has been removed as it will be EOL by the release of Nixpkgs 25.11"; # Added 2025-08-19
-2
View File
@@ -10984,8 +10984,6 @@ with pkgs;
backintime = backintime-qt;
barrier = libsForQt5.callPackage ../applications/misc/barrier { };
bespokesynth-with-vst2 = bespokesynth.override {
enableVST2 = true;
};