cargo-edit: 0.3.2 -> 0.3.3

This commit is contained in:
Pascal Hertleif 2019-06-22 14:35:32 +02:00
parent baa75f0c25
commit ef08f42854
2 changed files with 3 additions and 15 deletions

View file

@ -4,23 +4,21 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-edit";
version = "0.3.2";
version = "0.3.3";
src = fetchFromGitHub {
owner = "killercup";
repo = pname;
rev = "v${version}";
sha256 = "1z51zvv3sim5mcmr57akzzlkr5phb5f2a9zawff3s7a6lnz9rjzz";
sha256 = "05b64bm9441crw74xlywjg2y3psljk2kf9xsrixaqwbnnahi0mm5";
};
cargoSha256 = "1xy5xcfzfqrgvk5g97qab4ddd3i76nqn8vr0lsfpbbqfc2sm737a";
cargoSha256 = "1hjjw3i35vqr6nxsv2m3izq4x8c2a6wvl5c2kjlpg6shy9j2mjaa";
nativeBuildInputs = lib.optional (!stdenv.isDarwin) pkgconfig;
buildInputs = lib.optional (!stdenv.isDarwin) openssl;
propagatedBuildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
patches = [ ./disable-network-based-test.patch ];
meta = with lib; {
description = "A utility for managing cargo dependencies from the command line";
homepage = https://github.com/killercup/cargo-edit;

View file

@ -1,10 +0,0 @@
--- cargo-edit.org/tests/cargo-upgrade.rs 2018-09-11 20:59:04.609532299 +0100
+++ cargo-edit/tests/cargo-upgrade.rs 2018-09-11 20:59:50.829435331 +0100
@@ -302,6 +302,7 @@
}
#[test]
+#[ignore] // requires network
fn upgrade_prints_messages() {
let (_tmpdir, manifest) = clone_out_test("tests/fixtures/upgrade/Cargo.toml.source");