evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / ca / cargo-temp / package.nix
blob8f1e96c5562dc48e1d4b91acf0deed05c1530013
1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
4   pname = "cargo-temp";
5   version = "0.2.22";
7   src = fetchFromGitHub {
8     owner = "yozhgoor";
9     repo = "cargo-temp";
10     rev = "v${version}";
11     hash = "sha256-gsrmHCj9DC6OkGS0CD/NE2UMc/9TdjA2In6f3iKXMOg=";
12   };
14   cargoHash = "sha256-ryvv4SuhxIXPJKa3WLdjNQZAP+JLAjWtrCfWXUm+WVg=";
16   meta = with lib; {
17     description = "CLI tool that allow you to create a temporary new Rust project using cargo with already installed dependencies";
18     mainProgram = "cargo-temp";
19     homepage = "https://github.com/yozhgoor/cargo-temp";
20     changelog = "https://github.com/yozhgoor/cargo-temp/releases/tag/${src.rev}";
21     license = with licenses; [ mit /* or */ asl20 ];
22     maintainers = with maintainers; [ figsoda matthiasbeyer ];
23   };