mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
clipboard-jh: 0.9.0.1 -> 0.9.1
https://github.com/Slackadays/Clipboard/releases/tag/0.9.1
This commit is contained in:
parent
e273688024
commit
3f5a08f36d
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user