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
1
-
{ lib
2
2
-
, stdenv
3
3
-
, callPackage
4
4
-
, fetchFromGitHub
5
5
-
, rustPlatform
6
6
-
, CoreServices
7
7
-
, cmake
8
8
-
, libiconv
9
9
-
, useMimalloc ? false
10
10
-
, doCheck ? true
11
11
-
, nix-update-script
1
1
+
{
2
2
+
lib,
3
3
+
stdenv,
4
4
+
callPackage,
5
5
+
fetchFromGitHub,
6
6
+
rustPlatform,
7
7
+
CoreServices,
8
8
+
cmake,
9
9
+
libiconv,
10
10
+
useMimalloc ? false,
11
11
+
doCheck ? true,
12
12
+
nix-update-script,
12
13
}:
13
14
14
15
rustPlatform.buildRustPackage rec {
···
23
24
hash = "sha256-5gBDDKKwiMzR7W/b4PROLeNiXbB4ux1YDDLebaFzrmM=";
24
25
};
25
26
26
26
-
cargoBuildFlags = [ "--bin" "rust-analyzer" "--bin" "rust-analyzer-proc-macro-srv" ];
27
27
-
cargoTestFlags = [ "--package" "rust-analyzer" "--package" "proc-macro-srv-cli" ];
27
27
+
cargoBuildFlags = [
28
28
+
"--bin"
29
29
+
"rust-analyzer"
30
30
+
"--bin"
31
31
+
"rust-analyzer-proc-macro-srv"
32
32
+
];
33
33
+
cargoTestFlags = [
34
34
+
"--package"
35
35
+
"rust-analyzer"
36
36
+
"--package"
37
37
+
"proc-macro-srv-cli"
38
38
+
];
28
39
29
40
# Code format check requires more dependencies but don't really matter for packaging.
30
41
# So just ignore it.
···
64
75
meta = with lib; {
65
76
description = "Modular compiler frontend for the Rust language";
66
77
homepage = "https://rust-analyzer.github.io";
67
67
-
license = with licenses; [ mit asl20 ];
78
78
+
license = with licenses; [
79
79
+
mit
80
80
+
asl20
81
81
+
];
68
82
maintainers = with maintainers; [ oxalica ];
69
83
mainProgram = "rust-analyzer";
70
84
};