a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
32 lines
859 B
Nix
32 lines
859 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "millet";
|
|
version = "0.7.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "azdavis";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-7Mv1+c8X+rZQyw3y+eGvSyqVqiSPdTj1WxoUv1mynSs=";
|
|
};
|
|
|
|
cargoHash = "sha256-0fJIp2zlZkeidTFg6jQs6S2mVHJL8flqiZtTvM0F9OQ=";
|
|
|
|
postPatch = ''
|
|
rm .cargo/config.toml
|
|
'';
|
|
|
|
cargoBuildFlags = [ "--package" "millet-ls" ];
|
|
|
|
cargoTestFlags = [ "--package" "millet-ls" ];
|
|
|
|
meta = with lib; {
|
|
description = "A language server for Standard ML";
|
|
homepage = "https://github.com/azdavis/millet";
|
|
changelog = "https://github.com/azdavis/millet/raw/v${version}/docs/changelog.md";
|
|
license = [ licenses.mit /* or */ licenses.asl20 ];
|
|
maintainers = with maintainers; [ marsam ];
|
|
mainProgram = "millet-ls";
|
|
};
|
|
}
|