2021-02-16 03:27:54 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, wayland
|
|
|
|
, wayland-protocols
|
2022-05-09 14:18:15 +00:00
|
|
|
, wayland-scanner
|
2021-02-16 03:27:54 +00:00
|
|
|
}:
|
2018-11-13 14:54:24 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "wl-clipboard";
|
2022-06-11 20:25:53 +00:00
|
|
|
version = "2.1.0";
|
2018-11-13 14:54:24 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bugaevc";
|
|
|
|
repo = "wl-clipboard";
|
|
|
|
rev = "v${version}";
|
2022-06-11 20:25:53 +00:00
|
|
|
sha256 = "sha256-lqtLHLsSChWcYWsfFigj0Xveo9doAr7G31fRSaxm0Lw=";
|
2018-11-13 14:54:24 +00:00
|
|
|
};
|
|
|
|
|
2022-05-09 14:18:15 +00:00
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ];
|
|
|
|
buildInputs = [ wayland wayland-protocols ];
|
2018-11-13 14:54:24 +00:00
|
|
|
|
2022-06-11 20:25:53 +00:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dfishcompletiondir=share/fish/vendor_completions.d"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/bugaevc/wl-clipboard";
|
2021-02-16 03:27:54 +00:00
|
|
|
description = "Command-line copy/paste utilities for Wayland";
|
2021-02-16 20:24:46 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2018-11-13 14:54:24 +00:00
|
|
|
maintainers = with maintainers; [ dywedir ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|