1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00
nixpkgs/pkgs/tools/wayland/waynergy/default.nix
Marcelo Amancio de Lima Santos 4acd8f0125 waynergy: 0.0.13 -> 0.0.14
2022-12-02 08:42:50 -03:00

46 lines
1 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, meson
, pkg-config
, ninja
, wayland-scanner
, libdrm
, wayland
, wayland-protocols
, wl-clipboard
, libxkbcommon
, cmake
, libressl
}:
stdenv.mkDerivation rec {
pname = "waynergy";
version = "0.0.14";
src = fetchFromGitHub {
owner = "r-c-f";
repo = "waynergy";
rev = "v${version}";
hash = "sha256-LtLZDYZGoKNPRZeceMf/ndbO1QfMLkfxHeAo1YNjmm4=";
};
depsBuildBuild = [ pkg-config ];
buildInputs = [ libdrm wayland wayland-protocols wl-clipboard libxkbcommon cmake libressl ];
nativeBuildInputs = [ meson ninja ];
postPatch = ''
substituteInPlace waynergy.desktop --replace "Exec=/usr/bin/waynergy" "Exec=$out/bin/waynergy"
'';
meta = with lib; {
description = "A synergy client for Wayland compositors";
longDescription = ''
A synergy client for Wayland compositors
'';
homepage = "https://github.com/r-c-f/waynergy";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ maxhero pedrohlc ];
};
}