tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
rust-analyzer-unwrapped: format
Austin Horstman
1 year ago
17e3fab2
fe713828
+28
-14
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
rust
rust-analyzer
default.nix
+28
-14
pkgs/development/tools/rust/rust-analyzer/default.nix
···
1
-
{ lib
2
-
, stdenv
3
-
, callPackage
4
-
, fetchFromGitHub
5
-
, rustPlatform
6
-
, CoreServices
7
-
, cmake
8
-
, libiconv
9
-
, useMimalloc ? false
10
-
, doCheck ? true
11
-
, nix-update-script
0
12
}:
13
14
rustPlatform.buildRustPackage rec {
···
23
hash = "sha256-5gBDDKKwiMzR7W/b4PROLeNiXbB4ux1YDDLebaFzrmM=";
24
};
25
26
-
cargoBuildFlags = [ "--bin" "rust-analyzer" "--bin" "rust-analyzer-proc-macro-srv" ];
27
-
cargoTestFlags = [ "--package" "rust-analyzer" "--package" "proc-macro-srv-cli" ];
0
0
0
0
0
0
0
0
0
0
28
29
# Code format check requires more dependencies but don't really matter for packaging.
30
# So just ignore it.
···
64
meta = with lib; {
65
description = "Modular compiler frontend for the Rust language";
66
homepage = "https://rust-analyzer.github.io";
67
-
license = with licenses; [ mit asl20 ];
0
0
0
68
maintainers = with maintainers; [ oxalica ];
69
mainProgram = "rust-analyzer";
70
};
···
1
+
{
2
+
lib,
3
+
stdenv,
4
+
callPackage,
5
+
fetchFromGitHub,
6
+
rustPlatform,
7
+
CoreServices,
8
+
cmake,
9
+
libiconv,
10
+
useMimalloc ? false,
11
+
doCheck ? true,
12
+
nix-update-script,
13
}:
14
15
rustPlatform.buildRustPackage rec {
···
24
hash = "sha256-5gBDDKKwiMzR7W/b4PROLeNiXbB4ux1YDDLebaFzrmM=";
25
};
26
27
+
cargoBuildFlags = [
28
+
"--bin"
29
+
"rust-analyzer"
30
+
"--bin"
31
+
"rust-analyzer-proc-macro-srv"
32
+
];
33
+
cargoTestFlags = [
34
+
"--package"
35
+
"rust-analyzer"
36
+
"--package"
37
+
"proc-macro-srv-cli"
38
+
];
39
40
# Code format check requires more dependencies but don't really matter for packaging.
41
# So just ignore it.
···
75
meta = with lib; {
76
description = "Modular compiler frontend for the Rust language";
77
homepage = "https://rust-analyzer.github.io";
78
+
license = with licenses; [
79
+
mit
80
+
asl20
81
+
];
82
maintainers = with maintainers; [ oxalica ];
83
mainProgram = "rust-analyzer";
84
};