clipaste: init at 2.4.0

This commit is contained in:
Aaron Jheng
2026-07-01 13:39:23 +08:00
parent 536c906eb9
commit abaec6c71e

View File

@@ -0,0 +1,38 @@
{
lib,
rustPlatform,
fetchFromGitHub,
testers,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "clipaste";
version = "2.4.0";
src = fetchFromGitHub {
owner = "hqhq1025";
repo = "clipaste";
tag = "v${finalAttrs.version}";
hash = "sha256-MNrhOvdyYs99Z6Wwf2X+xCNRzc6erpLpFB/GHBJRhrg=";
};
cargoHash = "sha256-QrUR3xHZ/1FFkBYt5qxi0mNVTvEaWBcLSjp6OnzR9GY=";
strictDeps = true;
__structuredAttrs = true;
passthru = {
tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
};
};
meta = {
description = "Screenshot clipboard paste fix for AI agents";
homepage = "https://github.com/hqhq1025/clipaste";
license = lib.licenses.mit;
platforms = lib.platforms.darwin;
maintainers = with lib.maintainers; [ aaronjheng ];
mainProgram = "clipaste";
};
})