cargo edit: 0.5.0 -> 0.6.0

- Update to new version
- Add myself as maintainer
- Some workspace test failed with a cargo config error, I didn't
  investigate too much.
- Add Apache 2.0 license
This commit is contained in:
Pascal Hertleif 2020-03-21 13:15:06 +01:00
parent 11315a3e27
commit 84ac1d59a8
1 changed files with 7 additions and 5 deletions

View File

@ -4,25 +4,27 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-edit"; pname = "cargo-edit";
version = "0.5.0"; version = "0.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "killercup"; owner = "killercup";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "16gpljbzk6cibry9ssnl22xbcsx2cr57mrs3x3n6cfmldbp6bhbr"; sha256 = "19jnvsbddn52ibjv48jyfss25gg9mmvxzfhbr7s7bqyf3bq68jbm";
}; };
cargoSha256 = "1zwkar914zyghky09lgk0s374m5d6yccn0m15bqlgxxyymg4b59y"; cargoSha256 = "0b06jsilj87rnr1qlarn29hnz0i9p455fdxg6nf6r2fli2xpv1f0";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
doCheck = false; # integration tests depend on changing cargo config
meta = with lib; { meta = with lib; {
description = "A utility for managing cargo dependencies from the command line"; description = "A utility for managing cargo dependencies from the command line";
homepage = https://github.com/killercup/cargo-edit; homepage = https://github.com/killercup/cargo-edit;
license = with licenses; [ mit ]; license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ gerschtli jb55 filalex77 ]; maintainers = with maintainers; [ gerschtli jb55 filalex77 killercup ];
platforms = platforms.all; platforms = platforms.all;
}; };
} }