diff options
author | figsoda <figsoda@pm.me> | 2022-09-18 16:55:11 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2022-09-18 16:55:11 -0400 |
commit | dbb5a3db1aa550f8dd1b287b973807065208c445 (patch) | |
tree | 3108bf8fc7dea3fa85189daab65692bb795990f0 /pkgs | |
parent | 5a60312b2c03f500a89c529d04658b382b05e58d (diff) |
cargo-temp: init at 0.2.13
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/rust/cargo-temp/default.nix | 22 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/cargo-temp/default.nix b/pkgs/development/tools/rust/cargo-temp/default.nix new file mode 100644 index 0000000000000..4956ce52333d1 --- /dev/null +++ b/pkgs/development/tools/rust/cargo-temp/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e35d9a37baba3..10df36cd89680 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; }; |