diff options
author | Shahar "Dawn" Or <mightyiampresence@gmail.com> | 2023-08-26 15:03:30 +0700 |
---|---|---|
committer | Shahar "Dawn" Or <mightyiampresence@gmail.com> | 2023-08-26 15:03:30 +0700 |
commit | fcb7d7e878c67ba11c6196d902c44d34d5dd351a (patch) | |
tree | 18ccdcf7ed869acd54d39070ff20893a20472175 /pkgs/development/tools | |
parent | ee0e020788aabb75f5fbd0d8fdce58de69e43aef (diff) |
cargo-run-bin: init at 1.1.5
Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/rust/cargo-run-bin/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/cargo-run-bin/default.nix b/pkgs/development/tools/rust/cargo-run-bin/default.nix new file mode 100644 index 0000000000000..dca10dc1c42ad --- /dev/null +++ b/pkgs/development/tools/rust/cargo-run-bin/default.nix @@ -0,0 +1,28 @@ +{ lib +, rustPlatform +, fetchCrate +}: + +rustPlatform.buildRustPackage rec { + pname = "cargo-run-bin"; + version = "1.1.5"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-YCWjdY8feiqU4/bOn19qbY8YiKa3SvFImvH0wDKXOhI="; + }; + + cargoSha256 = "sha256-mNJZjEkuUwo/aqyotqjNj+P50dFFGaJnLQ2CyCYg/1Y="; + + # multiple impurities in tests + doCheck = false; + + meta = with lib; { + description = "Build, cache, and run binaries scoped in Cargo.toml rather than installing globally. This acts similarly to npm run and gomodrun, and allows your teams to always be running the same tooling versions"; + homepage = "https://github.com/dustinblackman/cargo-run-bin"; + changelog = "https://github.com/dustinblackman/cargo-run-bin/blob/v${version}/CHANGELOG.md"; + license = licenses.mit; + maintainers = with maintainers; [ mightyiam matthiasbeyer ]; + }; +} + |