Skip to content

Commit

Permalink
orbiton: 2.65.12 → 2.67.1 (#350304)
Browse files Browse the repository at this point in the history
  • Loading branch information
sikmir authored Oct 30, 2024
2 parents 71ccc3b + 42f519e commit 9fff031
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions pkgs/by-name/or/orbiton/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fff031

Please sign in to comment.