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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
844 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.2.1";
2018-11-13 15:54:24 +01:00
src = fetchFromGitHub {
owner = "bugaevc";
repo = "wl-clipboard";
rev = "v${version}";
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
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 ];
2023-04-05 23:18:38 +02:00
platforms = platforms.unix;
2018-11-13 15:54:24 +01:00
};
}