3
0
Fork 0
forked from mirrors/nixpkgs

cargo-make: 0.32.2 -> 0.32.3

https://github.com/sagiegurari/cargo-make/releases/tag/0.32.3
This commit is contained in:
Maximilian Bosch 2020-08-28 15:27:54 +02:00
parent 8321c779ad
commit 96d72aa488
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E
2 changed files with 7 additions and 1300 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,32 +1,22 @@
{ stdenv, fetchurl, runCommand, fetchFromGitHub, rustPlatform, Security, openssl, pkg-config
{ stdenv, fetchurl, runCommand, fetchCrate, rustPlatform, Security, openssl, pkg-config
, SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-make";
version = "0.32.2";
version = "0.32.3";
src =
let
source = fetchFromGitHub {
owner = "sagiegurari";
repo = pname;
rev = version;
sha256 = "0l0pislc7pgx1m68kirvadraq88c86mm1k46wbz3a47ph2d4g912";
};
in
runCommand "source" {} ''
cp -R ${source} $out
chmod +w $out
cp ${./Cargo.lock} $out/Cargo.lock
'';
src = fetchCrate {
inherit pname version;
sha256 = "0qcwhmba83rrwqnlkcmvnmbj9jb2bwm0mka8rcp26y4yxmjm431n";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
cargoSha256 = "16ygkh8sbb37nfc41shxg9nh2mbszyschbqrrr1gr7xzf1z36ipp";
cargoSha256 = "1dmcdzdm7kzmrq2xsiaikns2xzjpdmh9w8pw653nlqfjjr2h6pxp";
# Some tests fail because they need network access.
# However, Travis ensures a proper build.