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";
|
2023-08-27 21:11:56 +02:00
|
|
|
version = "2.2.1";
|
2018-11-13 15:54:24 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bugaevc";
|
|
|
|
repo = "wl-clipboard";
|
|
|
|
rev = "v${version}";
|
2023-08-27 21:11:56 +02:00
|
|
|
hash = "sha256-BYRXqVpGt9FrEBYQpi2kHPSZyeMk9o1SXkxjjcduhiY=";
|
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 ];
|
2023-04-05 23:18:38 +02:00
|
|
|
platforms = platforms.unix;
|
2018-11-13 15:54:24 +01:00
|
|
|
};
|
|
|
|
}
|