diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-09 07:58:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 07:58:52 -0500 |
commit | 5e3a6d7a7ea18940ec9c63dfbae51307660d69a8 (patch) | |
tree | 8da26e47d4d6e71da47d2b0abcb47a54270bf816 /pkgs/development/tools | |
parent | 29b797468cba5643ec6baa060d55a2cdb7946fa8 (diff) | |
parent | b20aaf3e7a3d76e9c4dd6208ee7d464917c53f5e (diff) | |
download | nixlib-5e3a6d7a7ea18940ec9c63dfbae51307660d69a8.tar nixlib-5e3a6d7a7ea18940ec9c63dfbae51307660d69a8.tar.gz nixlib-5e3a6d7a7ea18940ec9c63dfbae51307660d69a8.tar.bz2 nixlib-5e3a6d7a7ea18940ec9c63dfbae51307660d69a8.tar.lz nixlib-5e3a6d7a7ea18940ec9c63dfbae51307660d69a8.tar.xz nixlib-5e3a6d7a7ea18940ec9c63dfbae51307660d69a8.tar.zst nixlib-5e3a6d7a7ea18940ec9c63dfbae51307660d69a8.zip |
Merge pull request #82116 from bhipple/u/rust-cargo-rustracerd
rustracerd: upgrade cargo fetcher and cargoSha256
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/rust/racerd/default.nix | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/pkgs/development/tools/rust/racerd/default.nix b/pkgs/development/tools/rust/racerd/default.nix index c9b89abb0b07..c49ea2aaf128 100644 --- a/pkgs/development/tools/rust/racerd/default.nix +++ b/pkgs/development/tools/rust/racerd/default.nix @@ -1,10 +1,9 @@ { stdenv, fetchFromGitHub, rustPlatform, makeWrapper , Security }: -with rustPlatform; - -buildRustPackage rec { +rustPlatform.buildRustPackage rec { pname = "racerd"; version = "unstable-2019-09-02"; + src = fetchFromGitHub { owner = "jwilm"; repo = "racerd"; @@ -12,16 +11,13 @@ buildRustPackage rec { sha256 = "13jqdvjk4savcl03mrn2vzgdsd7vxv2racqbyavrxp2cm9h6cjln"; }; + cargoSha256 = "1nwjr7v8hkhsql93wbwk5gqqiq725gj5iwwsbd250my9g5kkfdbw"; + # a nightly compiler is required unless we use this cheat code. RUSTC_BOOTSTRAP=1; doCheck = false; - # Delete this on next update; see #79975 for details - legacyCargoFetcher = true; - - cargoSha256 = "07130587drrdkrk7aqb8pl8i3p485qr6xh1m86630ydlnb9z6s6i"; - nativeBuildInputs = [ makeWrapper ]; buildInputs = stdenv.lib.optional stdenv.isDarwin Security; @@ -35,7 +31,7 @@ buildRustPackage rec { meta = with stdenv.lib; { description = "JSON/HTTP Server based on racer for adding Rust support to editors and IDEs"; - homepage = https://github.com/jwilm/racerd; + homepage = "https://github.com/jwilm/racerd"; license = licenses.asl20; platforms = platforms.all; }; |