Merge pull request #251407 from mightyiam/cargo-run-bin
cargo-run-bin: init at 1.1.5
This commit is contained in:
commit
eb0af25a29
2 changed files with 29 additions and 0 deletions
28
pkgs/development/tools/rust/cargo-run-bin/default.nix
Normal file
28
pkgs/development/tools/rust/cargo-run-bin/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
@ -17225,6 +17225,7 @@ with pkgs;
|
|||
};
|
||||
cargo-readme = callPackage ../development/tools/rust/cargo-readme { };
|
||||
cargo-risczero = callPackage ../development/tools/rust/cargo-risczero { };
|
||||
cargo-run-bin = callPackage ../development/tools/rust/cargo-run-bin {};
|
||||
cargo-semver-checks = callPackage ../development/tools/rust/cargo-semver-checks { };
|
||||
|
||||
cargo-show-asm = callPackage ../development/tools/rust/cargo-show-asm { };
|
||||
|
|
Loading…
Reference in a new issue