nixpkgs/pkgs/development/tools/millet/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
704 B
Nix
Raw Normal View History

2022-07-22 04:20:00 +00:00
{ lib, rustPlatform, fetchFromGitHub }:
2022-06-25 04:20:00 +00:00
rustPlatform.buildRustPackage rec {
pname = "millet";
version = "0.2.9";
2022-06-25 04:20:00 +00:00
src = fetchFromGitHub {
owner = "azdavis";
repo = pname;
rev = "v${version}";
sha256 = "sha256-ZvLpLQ7WkRvApSZ7vPDmQH8iLLpKUEY5ig5Mn+rkMI8=";
2022-06-25 04:20:00 +00:00
};
cargoSha256 = "sha256-I5JgtW5Bgz2swJYiY2gV1UbSgeGxef7Hb4gDQYz/0TU=";
2022-06-25 04:20:00 +00:00
cargoBuildFlags = [ "--package" "lang-srv" ];
meta = with lib; {
description = "A language server for Standard ML";
homepage = "https://github.com/azdavis/millet";
2022-07-01 04:20:00 +00:00
changelog = "https://github.com/azdavis/millet/raw/v${version}/docs/changelog.md";
2022-06-25 04:20:00 +00:00
license = licenses.mit;
maintainers = with maintainers; [ marsam ];
};
}