clipboard-jh: 0.3.2 -> 0.6.0

This commit is contained in:
Weijia Wang 2023-04-11 00:47:18 +03:00
parent 19502db2c3
commit eb374d7bae
2 changed files with 12 additions and 3 deletions

View file

@ -7,19 +7,24 @@
, wayland-protocols , wayland-protocols
, wayland , wayland
, xorg , xorg
, darwin
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "clipboard-jh"; pname = "clipboard-jh";
version = "0.3.2"; version = "0.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Slackadays"; owner = "Slackadays";
repo = "clipboard"; repo = "clipboard";
rev = version; rev = version;
sha256 = "sha256-xdogl2WDuQXeLFuBY1u7PSpaoVI9HKScOdxHZ3+whIg="; hash = "sha256-o3yCWAy7hlFKAFW3tVRG+hL0SRWlNY4hvnhUoDK8GkI=";
}; };
postPatch = ''
sed -i "/CMAKE_OSX_ARCHITECTURES/d" CMakeLists.txt
'';
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
pkg-config pkg-config
@ -30,6 +35,8 @@ stdenv.mkDerivation rec {
wayland-protocols wayland-protocols
wayland wayland
xorg.libX11 xorg.libX11
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.AppKit
]; ];
cmakeFlags = [ cmakeFlags = [

View file

@ -13831,7 +13831,9 @@ with pkgs;
clipnotify = callPackage ../tools/misc/clipnotify { }; clipnotify = callPackage ../tools/misc/clipnotify { };
clipboard-jh = callPackage ../tools/misc/clipboard-jh { }; clipboard-jh = callPackage ../tools/misc/clipboard-jh {
stdenv = if stdenv.isDarwin then llvmPackages_15.stdenv else stdenv;
};
clipbuzz = callPackage ../tools/misc/clipbuzz { }; clipbuzz = callPackage ../tools/misc/clipbuzz { };