cargo-make: 0.32.2 -> 0.32.3
https://github.com/sagiegurari/cargo-make/releases/tag/0.32.3
This commit is contained in:
parent
8321c779ad
commit
96d72aa488
1283
pkgs/development/tools/rust/cargo-make/Cargo.lock
generated
1283
pkgs/development/tools/rust/cargo-make/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -1,32 +1,22 @@
|
|||||||
{ stdenv, fetchurl, runCommand, fetchFromGitHub, rustPlatform, Security, openssl, pkg-config
|
{ stdenv, fetchurl, runCommand, fetchCrate, rustPlatform, Security, openssl, pkg-config
|
||||||
, SystemConfiguration
|
, SystemConfiguration
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-make";
|
pname = "cargo-make";
|
||||||
version = "0.32.2";
|
version = "0.32.3";
|
||||||
|
|
||||||
src =
|
src = fetchCrate {
|
||||||
let
|
inherit pname version;
|
||||||
source = fetchFromGitHub {
|
sha256 = "0qcwhmba83rrwqnlkcmvnmbj9jb2bwm0mka8rcp26y4yxmjm431n";
|
||||||
owner = "sagiegurari";
|
};
|
||||||
repo = pname;
|
|
||||||
rev = version;
|
|
||||||
sha256 = "0l0pislc7pgx1m68kirvadraq88c86mm1k46wbz3a47ph2d4g912";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
runCommand "source" {} ''
|
|
||||||
cp -R ${source} $out
|
|
||||||
chmod +w $out
|
|
||||||
cp ${./Cargo.lock} $out/Cargo.lock
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ openssl ]
|
buildInputs = [ openssl ]
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
|
++ stdenv.lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
|
||||||
|
|
||||||
cargoSha256 = "16ygkh8sbb37nfc41shxg9nh2mbszyschbqrrr1gr7xzf1z36ipp";
|
cargoSha256 = "1dmcdzdm7kzmrq2xsiaikns2xzjpdmh9w8pw653nlqfjjr2h6pxp";
|
||||||
|
|
||||||
# Some tests fail because they need network access.
|
# Some tests fail because they need network access.
|
||||||
# However, Travis ensures a proper build.
|
# However, Travis ensures a proper build.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user