wayclip: init at 0.4.2 (#357267)
This commit is contained in:
commit
66c4e8d3e9
46
pkgs/by-name/wa/wayclip/package.nix
Normal file
46
pkgs/by-name/wa/wayclip/package.nix
Normal 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;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user