mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-18 06:31:15 +00:00
clipaste: init at 2.4.0
This commit is contained in:
38
pkgs/by-name/cl/clipaste/package.nix
Normal file
38
pkgs/by-name/cl/clipaste/package.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user