blob: f32f4693ed2ff6338b42a30912bb41ccbccaef9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib, rustPlatform, fetchFromGitHub }:
let
date = "2022-09-19";
in
rustPlatform.buildRustPackage rec {
pname = "nil";
version = "unstable-${date}";
src = fetchFromGitHub {
owner = "oxalica";
repo = pname;
rev = date;
sha256 = "sha256-WdBRfp0shz6Xhwx0fEUQwROK52XNDTkmhC2xkdT+INA=";
};
cargoSha256 = "sha256-J1CRe5xPl428mwOO4kDxLyPBc0mtzl3iU4mUqW5d4+E=";
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 ];
};
}
|