orbiton: 2.65.12 → 2.67.1 (#350304)

This commit is contained in:
Nikolay Korotkiy 2024-10-31 00:43:10 +04:00 committed by GitHub
commit 9fff0316ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,32 +4,27 @@
buildGoModule rec {
pname = "orbiton";
version = "2.65.12";
version = "2.67.1";
src = fetchFromGitHub {
owner = "xyproto";
repo = "orbiton";
rev = "v${version}";
hash = "sha256-1KVw2dj//6vwUUj1jVWe2J/9F6J8BQsvCAEbJZnW26c=";
hash = "sha256-/5USD588kr3uB/Zs1ASKVgxH4kAWZCNBrZL7qqx49gU=";
};
vendorHash = null;
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
substituteInPlace Makefile \
--replace "-Wl,--as-needed" ""
# Requires impure pbcopy and pbpaste
substituteInPlace v2/pbcopy_test.go \
--replace TestPBcopy SkipTestPBcopy
'';
nativeBuildInputs = [ installShellFiles makeWrapper pkg-config ];
buildInputs = lib.optional withGui vte;
preBuild = "cd v2";
checkFlags = [
"-skip=TestPBcopy" # Requires impure pbcopy and pbpaste
];
postInstall = ''
cd ..
installManPage o.1