3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #64245 from turboMaCk/tools-rust/cargo-generate

cargo-generate: init at 0.3.0
This commit is contained in:
Mario Rodas 2019-07-24 18:57:18 -05:00 committed by GitHub
commit b5f5c97f7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, rustPlatform, Security, openssl, pkgconfig, libiconv, curl }:
rustPlatform.buildRustPackage rec {
name = "cargo-generate-${version}";
version = "0.3.0";
src = fetchFromGitHub {
owner = "ashleygwilliams";
repo = "cargo-generate";
rev = "v${version}";
sha256 = "0n6na6xq4bvs9hc7vc86qqmlrkv824qdmja27b21l2wz3l77r4jb";
};
cargoSha256 = "00fgzh1s63rr1vs3ahra604m81fc4imx3s09brw2y0n46syhwypi";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [ Security libiconv curl ];
doCheck = false;
meta = with stdenv.lib; {
description = "cargo, make me a project";
homepage = https://github.com/ashleygwilliams/cargo-generate;
license = licenses.asl20;
maintainers = [ maintainers.turbomack ];
platforms = platforms.all;
};
}

View file

@ -8139,6 +8139,9 @@ in
}; };
cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { }; cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { };
cargo-xbuild = callPackage ../development/tools/rust/cargo-xbuild { }; cargo-xbuild = callPackage ../development/tools/rust/cargo-xbuild { };
cargo-generate = callPackage ../development/tools/rust/cargo-generate {
inherit (darwin.apple_sdk.frameworks) Security;
};
pyo3-pack = callPackage ../development/tools/rust/pyo3-pack { }; pyo3-pack = callPackage ../development/tools/rust/pyo3-pack { };
rainicorn = callPackage ../development/tools/rust/rainicorn { }; rainicorn = callPackage ../development/tools/rust/rainicorn { };