forked from mirrors/nixpkgs
cargo-generate: 0.17.4 -> 0.17.5
Diff: https://github.com/cargo-generate/cargo-generate/compare/v0.17.4...v0.17.5 Changelog: https://github.com/cargo-generate/cargo-generate/blob/v0.17.5/CHANGELOG.md
This commit is contained in:
parent
3b0ea1e099
commit
18174bdf86
|
@ -5,29 +5,33 @@
|
|||
, libgit2
|
||||
, openssl
|
||||
, stdenv
|
||||
, Security
|
||||
, darwin
|
||||
, git
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-generate";
|
||||
version = "0.17.4";
|
||||
version = "0.17.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cargo-generate";
|
||||
repo = "cargo-generate";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-3dJ16G1PCLAV1sxtDt+eru+Chg7SWt+K/crJgXMO++k=";
|
||||
sha256 = "sha256-VKhlPg4H04HdfIgXCXx560oFRwxPotGnGfczZ8PfVog=";
|
||||
};
|
||||
|
||||
# patch Cargo.toml to not vendor libgit2 and openssl
|
||||
cargoPatches = [ ./no-vendor.patch ];
|
||||
|
||||
cargoSha256 = "sha256-eLPLBBytzjKfJk0pbPBC0kJrxkelfDrAj5kaM6g9z9w=";
|
||||
cargoSha256 = "sha256-TbmivH9LXwESpqk2RFEZYZRDlLyuAyek8JxQEROsPYs=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ libgit2 openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
buildInputs = [ libgit2 openssl ] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
checkInputs = [ git ];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d) USER=nixbld
|
||||
|
|
|
@ -15612,9 +15612,7 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) IOKit Security CoreFoundation AppKit System;
|
||||
};
|
||||
cargo-xbuild = callPackage ../development/tools/rust/cargo-xbuild { };
|
||||
cargo-generate = callPackage ../development/tools/rust/cargo-generate {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-generate = callPackage ../development/tools/rust/cargo-generate { };
|
||||
cargo-bootimage = callPackage ../development/tools/rust/bootimage { };
|
||||
|
||||
cargo-whatfeatures = callPackage ../development/tools/rust/cargo-whatfeatures {
|
||||
|
|
Loading…
Reference in a new issue