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/taplo-lsp/default.nix
Normal file
28
pkgs/development/tools/taplo-lsp/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ fetchCrate, lib, openssl, pkg-config, rustPlatform, stdenv, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "taplo-lsp";
|
||||
version = "0.2.6";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-jd4l9iTCeHnUa/GC13paD3zDiCZBk9VgEbCDsOs/Xq4=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-zQ303JFqnbulkWL4t5+fRWijaY9zd9tLKvrvdUEvKpY=";
|
||||
|
||||
# excludes test_tcp since it fails
|
||||
cargoTestFlags = [ "test_stdio" ];
|
||||
|
||||
nativeBuildInputs = lib.optional stdenv.isLinux pkg-config;
|
||||
|
||||
buildInputs = lib.optional stdenv.isLinux openssl
|
||||
++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A TOML toolkit written in Rust";
|
||||
homepage = "https://taplo.tamasfe.dev";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue