mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
orbiton: 2.65.12 → 2.67.1 (#350304)
This commit is contained in:
commit
9fff0316ce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user