wayclip: init at 0.4.2 (#357267)

This commit is contained in:
Colin 2024-11-22 06:32:56 +00:00 committed by GitHub
commit 66c4e8d3e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,46 @@
{
lib,
stdenv,
fetchFromSourcehut,
nix-update-script,
wayland,
wayland-scanner,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wayclip";
version = "0.4.2";
outputs = [
"out"
"man"
];
src = fetchFromSourcehut {
owner = "~noocsharp";
repo = "wayclip";
rev = finalAttrs.version;
hash = "sha256-/xii/FF8JPv6KbMMxzww9AYqYJrpKYowsxQ5Bz7m+/M=";
};
strictDeps = true;
nativeBuildInputs = [ wayland-scanner ];
buildInputs = [ wayland ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Wayland clipboard utility";
homepage = "https://sr.ht/~noocsharp/wayclip/";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ getchoo ];
mainProgram = "waycopy";
inherit (wayland.meta) platforms;
};
})