depot/third_party/nixpkgs/pkgs/by-name/fi/figma-agent/package.nix
Default email 657f08b14c Project import generated by Copybara.
GitOrigin-RevId: 807e9154dcb16384b1b765ebe9cd2bba2ac287fd
2024-10-29 11:11:06 +00:00

43 lines
868 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
fontconfig,
freetype,
}:
rustPlatform.buildRustPackage rec {
pname = "figma-agent";
version = "0.3.2";
src = fetchFromGitHub {
owner = "neetly";
repo = "figma-agent-linux";
rev = "refs/tags/${version}";
sha256 = "sha256-iXLQOc8gomOik+HIIoviw19II5MD6FM0W5DT3aqtIcM=";
};
cargoPatches = [
./0001-update-time.patch
];
cargoHash = "sha256-4X1sFgvrJuBeEPbcxrAt6tClOG63kwJ6eUzIRIv8tBs=";
nativeBuildInputs = [
pkg-config
rustPlatform.bindgenHook
];
buildInputs = [
fontconfig
freetype
];
meta = {
homepage = "https://github.com/neetly/figma-agent-linux";
description = "Figma Agent for Linux (a.k.a. Font Helper)";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ercao ];
mainProgram = "figma-agent";
};
}