xwayland-satellite: 0.8.0 -> 0.8.1 (#491404)

This commit is contained in:
Seth Flynn
2026-03-11 23:17:29 +00:00
committed by GitHub
+14 -4
View File
@@ -1,6 +1,7 @@
{
lib,
fetchFromGitHub,
installShellFiles,
libxcb,
makeBinaryWrapper,
nix-update-script,
@@ -13,13 +14,13 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "xwayland-satellite";
version = "0.8";
version = "0.8.1";
src = fetchFromGitHub {
owner = "Supreeeme";
repo = "xwayland-satellite";
tag = "v${finalAttrs.version}";
hash = "sha256-Qz1WvGdawnoz4dG3JtCtlParmdQHM5xu6osnXeVOqYI=";
hash = "sha256-BUE41HjLIGPjq3U8VXPjf8asH8GaMI7FYdgrIHKFMXA=";
};
postPatch = ''
@@ -27,9 +28,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
--replace-fail '/usr/local/bin' "$out/bin"
'';
cargoHash = "sha256-HGrMjNIsUqh8AFtSABk615x4B9ygrVEn26V0G1kX/nA=";
cargoHash = "sha256-16L6gsvze+m7XCJlOA1lsPNELE3D364ef2FTdkh0rVY=";
nativeBuildInputs = [
installShellFiles
makeBinaryWrapper
pkg-config
rustPlatform.bindgenHook
@@ -43,10 +45,18 @@ rustPlatform.buildRustPackage (finalAttrs: {
buildNoDefaultFeatures = true;
buildFeatures = lib.optional withSystemd "systemd";
outputs = [
"out"
"man"
];
# All integration tests require a running display server
doCheck = false;
postInstall = lib.optionalString withSystemd ''
postInstall = ''
installManPage --name xwayland-satellite.1 xwayland-satellite.man
''
+ lib.optionalString withSystemd ''
install -Dm0644 resources/xwayland-satellite.service -t $out/lib/systemd/user
'';