2022-09-22 12:36:57 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-temp";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "0.2.19";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yozhgoor";
|
2023-07-15 17:15:38 +00:00
|
|
|
repo = "cargo-temp";
|
2022-09-22 12:36:57 +00:00
|
|
|
rev = "v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-vLD7M+Pg0BHJq9zDPeJLY+v/Vri/XtV3pQu0+ZE84Ew=";
|
2022-09-22 12:36:57 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
cargoHash = "sha256-NKT5AijwNm/BVhHGVAXq6sWBJYjSpq90TXHjlrihldo=";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
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";
|
2023-07-15 17:15:38 +00:00
|
|
|
changelog = "https://github.com/yozhgoor/cargo-temp/releases/tag/${src.rev}";
|
2022-09-22 12:36:57 +00:00
|
|
|
license = with licenses; [ mit /* or */ asl20 ];
|
2023-08-22 20:05:09 +00:00
|
|
|
maintainers = with maintainers; [ figsoda matthiasbeyer ];
|
2022-09-22 12:36:57 +00:00
|
|
|
};
|
|
|
|
}
|