Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
858 B
Nix
47 lines
858 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromSourcehut,
|
|
gitUpdater,
|
|
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 = gitUpdater { };
|
|
};
|
|
|
|
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;
|
|
};
|
|
})
|