28 lines
593 B
Nix
28 lines
593 B
Nix
{
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
openssl,
|
|
pkg-config,
|
|
...
|
|
}:
|
|
rustPlatform.buildRustPackage {
|
|
pname = "typst-languagetool";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "antonWetzel";
|
|
repo = "typst-languagetool";
|
|
rev = "b667a7ed94c8d671b23dd4ec018c58039277f0d6";
|
|
sha256 = "sha256-sxE8mQW/bH58oZzamjxTQIcSjQh4FaYvrYfNJrnm8Io=";
|
|
};
|
|
|
|
cargoHash = "sha256-80Dfpy2MB7ty841azRwBtA7hhO/yUXh2N4cvtrgTd2g=";
|
|
|
|
buildFeatures = ["server"];
|
|
cargoBuildFlags = "-p cli";
|
|
|
|
# optional dependencies
|
|
buildInputs = [openssl];
|
|
nativeBuildInputs = [pkg-config];
|
|
}
|