mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
30 lines
902 B
Nix
30 lines
902 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchCrate
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-run-bin";
|
|
version = "1.7.4";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-79DJ6j2sai1dTdcXf0qD97TCNZuGRSUobLGahoApMss=";
|
|
};
|
|
|
|
cargoHash = "sha256-6ub82+1DJqPjxNuEuk1YwdL6auCtWZK3L09xQlgific=";
|
|
|
|
# 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";
|
|
mainProgram = "cargo-bin";
|
|
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 ];
|
|
};
|
|
}
|
|
|