uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
28
pkgs/development/tools/rust-code-analysis/default.nix
Normal file
28
pkgs/development/tools/rust-code-analysis/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rust-code-analysis";
|
||||
version = "0.0.23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozilla";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1l9qr5rvbj542fx6g6h9p38z31kvwli39vipbmd3pvic2mpi6mzx";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-++d/czDJVGzY8GvBpBKpP0Rum4J4RpT95S81IRUWY2M=";
|
||||
|
||||
cargoBuildFlags = [ "--workspace" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Analyze and collect metrics on source code";
|
||||
homepage = "https://github.com/mozilla/rust-code-analysis";
|
||||
license = with licenses; [
|
||||
mit # grammars
|
||||
mpl20 # code
|
||||
];
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
mainProgram = "rust-code-analysis-cli";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue