Merge pull request #298972 from LamprosPitsillos/init-tinymist-unstable

tinymist: init at 0.11.1
This commit is contained in:
Pol Dellaiera 2024-03-28 13:46:30 +01:00 committed by GitHub
commit c3e603e788
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5026 additions and 0 deletions

View File

@ -10867,6 +10867,12 @@
githubId = 695526;
name = "Benjamin Kober";
};
lampros = {
email = "hauahx@gmail.com";
github = "LamprosPitsillos";
githubId = 61395246;
name = "Lampros Pitsillos";
};
larsr = {
email = "Lars.Rasmusson@gmail.com";
github = "larsr";

4968
pkgs/by-name/ti/tinymist/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,52 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, libgit2
, openssl
, zlib
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "tinymist";
version = "0.11.1";
src = fetchFromGitHub {
owner = "Myriad-Dreamin";
repo = "tinymist";
rev = "v${version}";
hash = "sha256-fkUL6+lNPtNONf01vxeRSj8b6bz0pW+mNFIQrV0twKM=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"typst-0.11.0" = "sha256-UzZ0tbC6Dhn178GQDyLl70WTp3h5WdaBCsEKgLisZ2M=";
};
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libgit2
openssl
zlib
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk_11_0.frameworks.CoreFoundation
darwin.apple_sdk_11_0.frameworks.CoreServices
darwin.apple_sdk_11_0.frameworks.Security
darwin.apple_sdk_11_0.frameworks.SystemConfiguration
];
meta = with lib; {
description = "Tinymist is an integrated language service for Typst";
homepage = "https://github.com/Myriad-Dreamin/tinymist";
license = licenses.asl20;
maintainers = with maintainers; [ lampros ];
mainProgram = "tinymist";
};
}