orbiton: 2.65.12 → 2.67.1

This commit is contained in:
Nikolay Korotkiy 2024-10-21 23:02:47 +04:00
parent 926039f1cf
commit 42f519ea73
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5

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