depot/third_party/nixpkgs/pkgs/by-name/ca/cargo-temp/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

25 lines
842 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "cargo-temp";
version = "0.3.2";
src = fetchFromGitHub {
owner = "yozhgoor";
repo = "cargo-temp";
rev = "v${version}";
hash = "sha256-ejcqgfnvIGUhidhJpAh6uJrm8oFb8rS98wRI3iQBP9I=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-lfahdQtv35VH9XTApcu/GIR2QOqXKlb8Gpy6X58LmpA=";
meta = with lib; {
description = "CLI tool that allow you to create a temporary new Rust project using cargo with already installed dependencies";
mainProgram = "cargo-temp";
homepage = "https://github.com/yozhgoor/cargo-temp";
changelog = "https://github.com/yozhgoor/cargo-temp/releases/tag/${src.rev}";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ figsoda matthiasbeyer ];
};
}