mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
33 lines
856 B
Nix
33 lines
856 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "millet";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "azdavis";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-tP1ccUtHfj+JPUYGo+QFYjbz56uNl3p53QNeE/xaCt4=";
|
|
};
|
|
|
|
cargoHash = "sha256-umOlvHDA8AtoAeB1i8nNgbjvzTmzwZfdjF+TCTKzqAU=";
|
|
|
|
postPatch = ''
|
|
rm .cargo/config.toml
|
|
'';
|
|
|
|
cargoBuildFlags = [ "--package" "lang-srv" ];
|
|
|
|
cargoTestFlags = [ "--package" "lang-srv" ];
|
|
|
|
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 = "lang-srv";
|
|
};
|
|
}
|