rustracerd: upgrade cargo fetcher and cargoSha256
This commit is contained in:
parent
f32e17d802
commit
b20aaf3e7a
@ -1,10 +1,9 @@
|
|||||||
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper , Security }:
|
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper , Security }:
|
||||||
|
|
||||||
with rustPlatform;
|
rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
buildRustPackage rec {
|
|
||||||
pname = "racerd";
|
pname = "racerd";
|
||||||
version = "unstable-2019-09-02";
|
version = "unstable-2019-09-02";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jwilm";
|
owner = "jwilm";
|
||||||
repo = "racerd";
|
repo = "racerd";
|
||||||
@ -12,16 +11,13 @@ buildRustPackage rec {
|
|||||||
sha256 = "13jqdvjk4savcl03mrn2vzgdsd7vxv2racqbyavrxp2cm9h6cjln";
|
sha256 = "13jqdvjk4savcl03mrn2vzgdsd7vxv2racqbyavrxp2cm9h6cjln";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "1nwjr7v8hkhsql93wbwk5gqqiq725gj5iwwsbd250my9g5kkfdbw";
|
||||||
|
|
||||||
# a nightly compiler is required unless we use this cheat code.
|
# a nightly compiler is required unless we use this cheat code.
|
||||||
RUSTC_BOOTSTRAP=1;
|
RUSTC_BOOTSTRAP=1;
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
# Delete this on next update; see #79975 for details
|
|
||||||
legacyCargoFetcher = true;
|
|
||||||
|
|
||||||
cargoSha256 = "07130587drrdkrk7aqb8pl8i3p485qr6xh1m86630ydlnb9z6s6i";
|
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
@ -35,7 +31,7 @@ buildRustPackage rec {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "JSON/HTTP Server based on racer for adding Rust support to editors and IDEs";
|
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;
|
license = licenses.asl20;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user