depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-run-bin/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

28 lines
871 B
Nix

{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-run-bin";
version = "1.4.1";
src = fetchCrate {
inherit pname version;
hash = "sha256-imp7TzSVWo6l23tQu2oMMdVj/3sT9mU+lIBc0cVwO+s=";
};
cargoHash = "sha256-TQOFXFdfD4iVy4K9IjcX0L7zLeNw9RAHb2WE5rERP/0=";
# 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 ];
};
}