depot/third_party/nixpkgs/pkgs/development/tools/nil/default.nix
Default email 7bc014aa9c Project import generated by Copybara.
GitOrigin-RevId: c97e777ff06fcb8d37dcdf5e21e9eff1f34f0e90
2022-09-11 12:47:08 -03:00

28 lines
652 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
let
date = "2022-09-10";
in
rustPlatform.buildRustPackage rec {
pname = "nil";
version = "unstable-${date}";
src = fetchFromGitHub {
owner = "oxalica";
repo = pname;
rev = date;
sha256 = "sha256-yqg46An5TPl6wsv5xflK4T90fTho4KXIILoV71jSl28=";
};
cargoSha256 = "sha256-MabVHbNGWpeUztwedXRXHBfgEostxk0aWpGCHlpnhJo=";
CFG_DATE = date;
meta = with lib; {
description = "A language server for Nix Expression Language";
homepage = "https://github.com/oxalica/nil";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ figsoda oxalica ];
};
}