nixpkgs/pkgs/tools/wayland/wl-clipboard/default.nix

39 lines
847 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, wayland
, wayland-protocols
2022-05-09 16:18:15 +02:00
, wayland-scanner
}:
2018-11-13 15:54:24 +01:00
stdenv.mkDerivation rec {
pname = "wl-clipboard";
version = "2.1.0";
2018-11-13 15:54:24 +01:00
src = fetchFromGitHub {
owner = "bugaevc";
repo = "wl-clipboard";
rev = "v${version}";
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
mesonFlags = [
"-Dfishcompletiondir=share/fish/vendor_completions.d"
];
meta = with lib; {
homepage = "https://github.com/bugaevc/wl-clipboard";
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;
};
}