cargo-generate: init at 0.3.0
This commit is contained in:
parent
e449caf606
commit
02d79ced90
2 changed files with 33 additions and 0 deletions
30
pkgs/development/tools/rust/cargo-generate/default.nix
Normal file
30
pkgs/development/tools/rust/cargo-generate/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -8075,6 +8075,9 @@ in
|
|||
};
|
||||
cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { };
|
||||
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 { };
|
||||
rainicorn = callPackage ../development/tools/rust/rainicorn { };
|
||||
|
|
Loading…
Reference in a new issue