clipboard-jh: 0.9.0.1 -> 0.9.1 (#349156)

This commit is contained in:
Nick Cao 2024-10-19 09:20:32 -04:00 committed by GitHub
commit 2a5f82bf2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,27 +1,29 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, libffi
, pkg-config
, wayland-protocols
, wayland-scanner
, wayland
, xorg
, darwin
, nix-update-script
, alsa-lib
{
lib,
stdenv,
fetchFromGitHub,
cmake,
libffi,
pkg-config,
wayland-protocols,
wayland-scanner,
wayland,
xorg,
darwin,
nix-update-script,
alsa-lib,
openssl,
}:
stdenv.mkDerivation rec {
pname = "clipboard-jh";
version = "0.9.0.1";
version = "0.9.1";
src = fetchFromGitHub {
owner = "Slackadays";
repo = "clipboard";
rev = version;
hash = "sha256-iILtyURYCshicgAV3MWkgMQsXHe7Unj1A08W7tUMU2o=";
hash = "sha256-1vGM9OUE7b4XVTm4Gf20CO80hjYAooeVt0REkY3xu3U=";
};
postPatch = ''
@ -34,15 +36,18 @@ stdenv.mkDerivation rec {
wayland-scanner
];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
libffi
wayland-protocols
wayland
xorg.libX11
alsa-lib
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.AppKit
];
buildInputs =
[ openssl ]
++ lib.optionals stdenv.hostPlatform.isLinux [
libffi
wayland-protocols
wayland
xorg.libX11
alsa-lib
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.AppKit
];
cmakeBuildType = "MinSizeRel";