forked from mirrors/nixpkgs
clipboard-jh: 0.3.2 -> 0.6.0
This commit is contained in:
parent
19502db2c3
commit
eb374d7bae
|
@ -7,19 +7,24 @@
|
|||
, wayland-protocols
|
||||
, wayland
|
||||
, xorg
|
||||
, darwin
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clipboard-jh";
|
||||
version = "0.3.2";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Slackadays";
|
||||
repo = "clipboard";
|
||||
rev = version;
|
||||
sha256 = "sha256-xdogl2WDuQXeLFuBY1u7PSpaoVI9HKScOdxHZ3+whIg=";
|
||||
hash = "sha256-o3yCWAy7hlFKAFW3tVRG+hL0SRWlNY4hvnhUoDK8GkI=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/CMAKE_OSX_ARCHITECTURES/d" CMakeLists.txt
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
|
@ -30,6 +35,8 @@ stdenv.mkDerivation rec {
|
|||
wayland-protocols
|
||||
wayland
|
||||
xorg.libX11
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.AppKit
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
|
|
|
@ -13831,7 +13831,9 @@ with pkgs;
|
|||
|
||||
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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue