figma-agent: init at 0.2.7
Signed-off-by: ercao <vip@ercao.cn>
This commit is contained in:
parent
1270da5040
commit
a3fecefff9
45
pkgs/applications/graphics/figma-agent/default.nix
Normal file
45
pkgs/applications/graphics/figma-agent/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
, fontconfig
|
||||
, freetype
|
||||
, libclang
|
||||
}:
|
||||
let
|
||||
inherit (rustPlatform) buildRustPackage bindgenHook;
|
||||
|
||||
version = "0.2.7";
|
||||
in
|
||||
buildRustPackage {
|
||||
pname = "figma-agent";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "neetly";
|
||||
repo = "figma-agent-linux";
|
||||
rev = version;
|
||||
sha256 = "sha256-Cq1hWNwJLBY9Bb41WFJxnr9fcygFZ8eNsn5cPXmGTyw=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-Gc94Uk/Ikxjnb541flQL7AeblgU/yS6zQ/187ZGRYco=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
fontconfig
|
||||
freetype
|
||||
bindgenHook
|
||||
];
|
||||
|
||||
LIBCLANG_PATH = "${libclang.lib}/lib";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/neetly/figma-agent-linux";
|
||||
description = "Figma Agent for Linux (a.k.a. Font Helper)";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ercao ];
|
||||
};
|
||||
}
|
@ -542,6 +542,8 @@ with pkgs;
|
||||
|
||||
expressvpn = callPackage ../applications/networking/expressvpn { };
|
||||
|
||||
figma-agent = callPackage ../applications/graphics/figma-agent { };
|
||||
|
||||
figma-linux = callPackage ../applications/graphics/figma-linux { };
|
||||
|
||||
firefly-desktop = callPackage ../applications/misc/firefly-desktop { };
|
||||
|
Loading…
Reference in New Issue
Block a user