2024-05-17 12:55:36 +08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
rustPlatform,
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "workshop-runner";
|
2025-02-19 13:31:36 +00:00
|
|
|
version = "0.2.3";
|
2024-05-17 12:55:36 +08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mainmatter";
|
|
|
|
repo = "rust-workshop-runner";
|
2025-04-08 02:51:45 -04:00
|
|
|
rev = "v${version}";
|
2025-02-19 13:31:36 +00:00
|
|
|
hash = "sha256-PfQPRbOPK1Y/j8Xtg78oDzBFUx8eiM3ZwRul/ao0SgI=";
|
2024-05-17 12:55:36 +08:00
|
|
|
};
|
|
|
|
|
2025-02-19 13:31:36 +00:00
|
|
|
cargoHash = "sha256-opV2IrqMIwdgrXY6V0jxFtrdP8NVmdlUdsLdfFNimt0=";
|
2024-05-17 12:55:36 +08:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "CLI tool to drive test-driven Rust workshops";
|
|
|
|
homepage = "https://github.com/mainmatter/rust-workshop-runner";
|
|
|
|
license = with lib.licenses; [
|
|
|
|
mit
|
|
|
|
asl20
|
|
|
|
];
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ RaghavSood ];
|
|
|
|
mainProgram = "wr";
|
|
|
|
};
|
|
|
|
}
|