cargo-temp: init at 0.2.13

This commit is contained in:
figsoda 2022-09-18 16:55:11 -04:00
parent 5a60312b2c
commit dbb5a3db1a
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "cargo-temp";
version = "0.2.13";
src = fetchFromGitHub {
owner = "yozhgoor";
repo = pname;
rev = "v${version}";
sha256 = "0g9ddzvgrb45ddflbcwpq320zwj4qrxfs07dydy6r86whdn1mlc0";
};
cargoSha256 = "sha256-5E1Fkipqb2nONQNAuj9xKn8k2PhH9IZ48UosNlPpP6c=";
meta = with lib; {
description = "A CLI tool that allow you to create a temporary new Rust project using cargo with already installed dependencies";
homepage = "https://github.com/yozhgoor/cargo-temp";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ figsoda ];
};
}

View file

@ -14688,6 +14688,7 @@ with pkgs;
cargo-tally = callPackage ../development/tools/rust/cargo-tally {
inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation IOKit;
};
cargo-temp = callPackage ../development/tools/rust/cargo-temp { };
cargo-udeps = callPackage ../development/tools/rust/cargo-udeps {
inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
};