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